Builder

class Builder

Protobuf type TW.TheOpenNetwork.Proto.Transfer

Functions

Link copied to clipboard
Amount to send in nanotons
uint64 amount = 3;
Link copied to clipboard
Transfer comment message (optional, empty by default)
string comment = 7;
Link copied to clipboard
Recipient address
string dest = 2;
Link copied to clipboard
Expiration UNIX timestamp (optional, now() + 60 by default)
uint32 expire_at = 6;
Link copied to clipboard
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
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
Wallet version
.TW.TheOpenNetwork.Proto.WalletVersion wallet_version = 1;
Link copied to clipboard
open fun getAmount(): Long
Amount to send in nanotons
uint64 amount = 3;
Link copied to clipboard
open fun getComment(): String
Transfer comment message (optional, empty by default)
string comment = 7;
Link copied to clipboard
open fun getCommentBytes(): ByteString
Transfer comment message (optional, empty by default)
string comment = 7;
Link copied to clipboard
open fun getDest(): String
Recipient address
string dest = 2;
Link copied to clipboard
open fun getDestBytes(): ByteString
Recipient address
string dest = 2;
Link copied to clipboard
open fun getExpireAt(): Int
Expiration UNIX timestamp (optional, now() + 60 by default)
uint32 expire_at = 6;
Link copied to clipboard
open 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
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
open fun getWalletVersion(): WalletVersion
Wallet version
.TW.TheOpenNetwork.Proto.WalletVersion wallet_version = 1;
Link copied to clipboard
Wallet version
.TW.TheOpenNetwork.Proto.WalletVersion wallet_version = 1;
Link copied to clipboard
Amount to send in nanotons
uint64 amount = 3;
Link copied to clipboard
Transfer comment message (optional, empty by default)
string comment = 7;
Link copied to clipboard
Transfer comment message (optional, empty by default)
string comment = 7;
Link copied to clipboard
Recipient address
string dest = 2;
Link copied to clipboard
open fun setDestBytes(value: ByteString): TheOpenNetwork.Transfer.Builder
Recipient address
string dest = 2;
Link copied to clipboard
Expiration UNIX timestamp (optional, now() + 60 by default)
uint32 expire_at = 6;
Link copied to clipboard
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
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
open fun setWalletVersion(value: WalletVersion): TheOpenNetwork.Transfer.Builder
Wallet version
.TW.TheOpenNetwork.Proto.WalletVersion wallet_version = 1;
Link copied to clipboard
Wallet version
.TW.TheOpenNetwork.Proto.WalletVersion wallet_version = 1;