SudtTransfer

Token transfer (SUDT)
Protobuf type TW.Nervos.Proto.SudtTransfer

Types

Link copied to clipboard
class Builder
Token transfer (SUDT)
Protobuf type TW.Nervos.Proto.SudtTransfer

Functions

Link copied to clipboard
open fun getAmount(): String
Amount to send.
string amount = 4;
Link copied to clipboard
open fun getAmountBytes(): ByteString
Amount to send.
string amount = 4;
Link copied to clipboard
Change address.
string change_address = 2;
Link copied to clipboard
open fun getChangeAddressBytes(): ByteString
Change address.
string change_address = 2;
Link copied to clipboard
open fun getDefaultInstance(): SudtTransfer
Link copied to clipboard
open fun getSudtAddress(): ByteString
SUDT (Simple User Defined Token) address
bytes sudt_address = 3;
Link copied to clipboard
open fun getToAddress(): String
Recipient's address.
string to_address = 1;
Link copied to clipboard
open fun getToAddressBytes(): ByteString
Recipient's address.
string to_address = 1;
Link copied to clipboard
If sending max amount.
bool use_max_amount = 5;
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): SudtTransfer
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): SudtTransfer
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): SudtTransfer
open fun parseFrom(data: ByteString): SudtTransfer
open fun parseFrom(input: CodedInputStream): SudtTransfer
open fun parseFrom(input: InputStream): SudtTransfer
open fun parseFrom(data: ByteBuffer): SudtTransfer
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): SudtTransfer
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): SudtTransfer
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): SudtTransfer
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): SudtTransfer
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): SudtTransfer
Link copied to clipboard
open fun parser(): Parser<SudtTransfer>

Properties

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