Builder

class Builder
Transfer tokens
Protobuf type TW.Solana.Proto.TokenTransfer

Functions

Link copied to clipboard
optional referenced public keys
repeated string references = 7;
Link copied to clipboard
optional referenced public keys
repeated string references = 7;
Link copied to clipboard
optional referenced public keys
repeated string references = 7;
Link copied to clipboard
Amount
uint64 amount = 4;
Link copied to clipboard
Note: 8-bit value
uint32 decimals = 5;
Link copied to clipboard
optional memo§
string memo = 6;
Link copied to clipboard
Destination address
string recipient_token_address = 3;
Link copied to clipboard
optional referenced public keys
repeated string references = 7;
Link copied to clipboard
Source address
string sender_token_address = 2;
Link copied to clipboard
Mint address of the token
string token_mint_address = 1;
Link copied to clipboard
open fun getAmount(): Long
Amount
uint64 amount = 4;
Link copied to clipboard
open fun getDecimals(): Int
Note: 8-bit value
uint32 decimals = 5;
Link copied to clipboard
open fun getMemo(): String
optional memo§
string memo = 6;
Link copied to clipboard
open fun getMemoBytes(): ByteString
optional memo§
string memo = 6;
Link copied to clipboard
Destination address
string recipient_token_address = 3;
Link copied to clipboard
open fun getRecipientTokenAddressBytes(): ByteString
Destination address
string recipient_token_address = 3;
Link copied to clipboard
open fun getReferences(index: Int): String
optional referenced public keys
repeated string references = 7;
Link copied to clipboard
open fun getReferencesBytes(index: Int): ByteString
optional referenced public keys
repeated string references = 7;
Link copied to clipboard
optional referenced public keys
repeated string references = 7;
Link copied to clipboard
optional referenced public keys
repeated string references = 7;
Link copied to clipboard
Source address
string sender_token_address = 2;
Link copied to clipboard
open fun getSenderTokenAddressBytes(): ByteString
Source address
string sender_token_address = 2;
Link copied to clipboard
Mint address of the token
string token_mint_address = 1;
Link copied to clipboard
open fun getTokenMintAddressBytes(): ByteString
Mint address of the token
string token_mint_address = 1;
Link copied to clipboard
Amount
uint64 amount = 4;
Link copied to clipboard
Note: 8-bit value
uint32 decimals = 5;
Link copied to clipboard
optional memo§
string memo = 6;
Link copied to clipboard
open fun setMemoBytes(value: ByteString): Solana.TokenTransfer.Builder
optional memo§
string memo = 6;
Link copied to clipboard
Destination address
string recipient_token_address = 3;
Link copied to clipboard
Destination address
string recipient_token_address = 3;
Link copied to clipboard
optional referenced public keys
repeated string references = 7;
Link copied to clipboard
Source address
string sender_token_address = 2;
Link copied to clipboard
Source address
string sender_token_address = 2;
Link copied to clipboard
Mint address of the token
string token_mint_address = 1;
Link copied to clipboard
Mint address of the token
string token_mint_address = 1;