Builder

class Builder
Token transfer (SUDT)
Protobuf type TW.Nervos.Proto.SudtTransfer

Functions

Link copied to clipboard
Amount to send.
string amount = 4;
Link copied to clipboard
Change address.
string change_address = 2;
Link copied to clipboard
SUDT (Simple User Defined Token) address
bytes sudt_address = 3;
Link copied to clipboard
Recipient's address.
string to_address = 1;
Link copied to clipboard
If sending max amount.
bool use_max_amount = 5;
Link copied to clipboard
open fun getAmount(): String
Amount to send.
string amount = 4;
Link copied to clipboard
open fun getAmountBytes(): ByteString
Amount to send.
string amount = 4;
Link copied to clipboard
Change address.
string change_address = 2;
Link copied to clipboard
open fun getChangeAddressBytes(): ByteString
Change address.
string change_address = 2;
Link copied to clipboard
open fun getSudtAddress(): ByteString
SUDT (Simple User Defined Token) address
bytes sudt_address = 3;
Link copied to clipboard
open fun getToAddress(): String
Recipient's address.
string to_address = 1;
Link copied to clipboard
open fun getToAddressBytes(): ByteString
Recipient's address.
string to_address = 1;
Link copied to clipboard
If sending max amount.
bool use_max_amount = 5;
Link copied to clipboard
Amount to send.
string amount = 4;
Link copied to clipboard
open fun setAmountBytes(value: ByteString): Nervos.SudtTransfer.Builder
Amount to send.
string amount = 4;
Link copied to clipboard
Change address.
string change_address = 2;
Link copied to clipboard
Change address.
string change_address = 2;
Link copied to clipboard
open fun setSudtAddress(value: ByteString): Nervos.SudtTransfer.Builder
SUDT (Simple User Defined Token) address
bytes sudt_address = 3;
Link copied to clipboard
Recipient's address.
string to_address = 1;
Link copied to clipboard
open fun setToAddressBytes(value: ByteString): Nervos.SudtTransfer.Builder
Recipient's address.
string to_address = 1;
Link copied to clipboard
If sending max amount.
bool use_max_amount = 5;