Builder

class Builder
Transfer of native asset
Protobuf type TW.Nervos.Proto.NativeTransfer

Functions

Link copied to clipboard
Amount to send.
uint64 amount = 3;
Link copied to clipboard
Change address.
string change_address = 2;
Link copied to clipboard
Recipient's address.
string to_address = 1;
Link copied to clipboard
If sending max amount.
bool use_max_amount = 4;
Link copied to clipboard
open fun getAmount(): Long
Amount to send.
uint64 amount = 3;
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 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 = 4;
Link copied to clipboard
Amount to send.
uint64 amount = 3;
Link copied to clipboard
Change address.
string change_address = 2;
Link copied to clipboard
Change address.
string change_address = 2;
Link copied to clipboard
Recipient's address.
string to_address = 1;
Link copied to clipboard
Recipient's address.
string to_address = 1;
Link copied to clipboard
If sending max amount.
bool use_max_amount = 4;