Transfer

Protobuf type TW.TheOpenNetwork.Proto.Transfer

Types

Link copied to clipboard
class Builder
Protobuf type TW.TheOpenNetwork.Proto.Transfer

Functions

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 getDefaultInstance(): Transfer
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
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): Transfer
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Transfer
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): Transfer
open fun parseFrom(data: ByteString): Transfer
open fun parseFrom(input: CodedInputStream): Transfer
open fun parseFrom(input: InputStream): Transfer
open fun parseFrom(data: ByteBuffer): Transfer
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): Transfer
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): Transfer
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Transfer
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Transfer
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): Transfer
Link copied to clipboard
open fun parser(): Parser<Transfer>

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard