TransferOrBuilder

Functions

Link copied to clipboard
abstract fun getAmount(): Long
Amount to send in nanotons
uint64 amount = 3;
Link copied to clipboard
abstract fun getComment(): String
Transfer comment message (optional, empty by default)
string comment = 7;
Link copied to clipboard
abstract fun getCommentBytes(): ByteString
Transfer comment message (optional, empty by default)
string comment = 7;
Link copied to clipboard
abstract fun getDest(): String
Recipient address
string dest = 2;
Link copied to clipboard
abstract fun getDestBytes(): ByteString
Recipient address
string dest = 2;
Link copied to clipboard
abstract fun getExpireAt(): Int
Expiration UNIX timestamp (optional, now() + 60 by default)
uint32 expire_at = 6;
Link copied to clipboard
abstract fun getMode(): Int
Send mode (optional, 0 by default)
Learn more: https://ton.org/docs/develop/func/stdlib#send_raw_message
uint32 mode = 5;
Link copied to clipboard
abstract fun getSequenceNumber(): Int
Message counter (optional, 0 by default used for the first deploy)
This field is required, because we need to protect the smart contract against "replay attacks"
Learn more: https://ton.org/docs/develop/smart-contracts/guidelines/external-messages
uint32 sequence_number = 4;
Link copied to clipboard
abstract fun getWalletVersion(): WalletVersion
Wallet version
.TW.TheOpenNetwork.Proto.WalletVersion wallet_version = 1;
Link copied to clipboard
abstract fun getWalletVersionValue(): Int
Wallet version
.TW.TheOpenNetwork.Proto.WalletVersion wallet_version = 1;

Inheritors

Link copied to clipboard