Builder

class Builder
A clause, between a sender and destination
Protobuf type TW.VeChain.Proto.Clause

Functions

Link copied to clipboard
/ Payload data.
bytes data = 3;
Link copied to clipboard
/ Recipient address.
string to = 1;
Link copied to clipboard
/ Transaction amount (uint256, serialized little endian)
bytes value = 2;
Link copied to clipboard
open fun getData(): ByteString
/ Payload data.
bytes data = 3;
Link copied to clipboard
open fun getTo(): String
/ Recipient address.
string to = 1;
Link copied to clipboard
open fun getToBytes(): ByteString
/ Recipient address.
string to = 1;
Link copied to clipboard
open fun getValue(): ByteString
/ Transaction amount (uint256, serialized little endian)
bytes value = 2;
Link copied to clipboard
open fun setData(value: ByteString): VeChain.Clause.Builder
/ Payload data.
bytes data = 3;
Link copied to clipboard
/ Recipient address.
string to = 1;
Link copied to clipboard
open fun setToBytes(value: ByteString): VeChain.Clause.Builder
/ Recipient address.
string to = 1;
Link copied to clipboard
open fun setValue(value: ByteString): VeChain.Clause.Builder
/ Transaction amount (uint256, serialized little endian)
bytes value = 2;