NativeTransfer

Transfer of native asset
Protobuf type TW.Nervos.Proto.NativeTransfer

Types

Link copied to clipboard
class Builder
Transfer of native asset
Protobuf type TW.Nervos.Proto.NativeTransfer

Functions

Link copied to clipboard
open fun getAmount(): Long
Amount to send.
uint64 amount = 3;
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(): NativeTransfer
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 = 4;
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): NativeTransfer
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): NativeTransfer
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): NativeTransfer
open fun parseFrom(data: ByteString): NativeTransfer
open fun parseFrom(input: CodedInputStream): NativeTransfer
open fun parseFrom(input: InputStream): NativeTransfer
open fun parseFrom(data: ByteBuffer): NativeTransfer
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): NativeTransfer
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): NativeTransfer
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): NativeTransfer
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): NativeTransfer
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): NativeTransfer
Link copied to clipboard
open fun parser(): Parser<NativeTransfer>

Properties

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