Builder

class Builder
Necessary fields to process a TokenTransferMessage
Protobuf type TW.Aptos.Proto.TokenTransferMessage

Functions

Link copied to clipboard
Amount to be transferred (uint64)
uint64 amount = 2;
Link copied to clipboard
token function to call, e.g BTC: 0x43417434fd869edee76cca2a4d2301e528a1551b1d719b75c350c3c97d15b8b9::coins::BTC
.TW.Aptos.Proto.StructTag function = 3;
Link copied to clipboard
Destination Account address (string)
string to = 1;
Link copied to clipboard
open fun getAmount(): Long
Amount to be transferred (uint64)
uint64 amount = 2;
Link copied to clipboard
open fun getFunction(): StructTag
token function to call, e.g BTC: 0x43417434fd869edee76cca2a4d2301e528a1551b1d719b75c350c3c97d15b8b9::coins::BTC
.TW.Aptos.Proto.StructTag function = 3;
Link copied to clipboard
open fun getTo(): String
Destination Account address (string)
string to = 1;
Link copied to clipboard
open fun getToBytes(): ByteString
Destination Account address (string)
string to = 1;
Link copied to clipboard
open fun hasFunction(): Boolean
token function to call, e.g BTC: 0x43417434fd869edee76cca2a4d2301e528a1551b1d719b75c350c3c97d15b8b9::coins::BTC
.TW.Aptos.Proto.StructTag function = 3;
Link copied to clipboard
token function to call, e.g BTC: 0x43417434fd869edee76cca2a4d2301e528a1551b1d719b75c350c3c97d15b8b9::coins::BTC
.TW.Aptos.Proto.StructTag function = 3;
Link copied to clipboard
Amount to be transferred (uint64)
uint64 amount = 2;
Link copied to clipboard
open fun setFunction(builderForValue: Builder): Aptos.TokenTransferMessage.Builder
token function to call, e.g BTC: 0x43417434fd869edee76cca2a4d2301e528a1551b1d719b75c350c3c97d15b8b9::coins::BTC
.TW.Aptos.Proto.StructTag function = 3;
Link copied to clipboard
Destination Account address (string)
string to = 1;
Link copied to clipboard
open fun setToBytes(value: ByteString): Aptos.TokenTransferMessage.Builder
Destination Account address (string)
string to = 1;