Transfer

Message for simple Transfer tx
Protobuf type TW.Cardano.Proto.Transfer

Types

Link copied to clipboard
class Builder
Message for simple Transfer tx
Protobuf type TW.Cardano.Proto.Transfer

Functions

Link copied to clipboard
open fun getAmount(): Long
Requested ADA amount to be transferred. Output can be different only in use_max_amount case.
Note that Cardano has a minimum amount per UTXO, see TWCardanoMinAdaAmount.
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(): Transfer
Link copied to clipboard
open fun getForceFee(): Long
Optional fee overriding. If left to 0, optimal fee will be calculated. If set, exactly this value will be used as fee.
Use it with care, it may result in underfunded or wasteful fee.
uint64 force_fee = 6;
Link copied to clipboard
open fun getToAddress(): String
Destination address as string
string to_address = 1;
Link copied to clipboard
open fun getToAddressBytes(): ByteString
Destination address as string
string to_address = 1;
Link copied to clipboard
open fun getTokenAmount(): TokenBundle
Optional token(s) to be transferred
Currently only one token type to be transferred per transaction is supported
.TW.Cardano.Proto.TokenBundle token_amount = 4;
Link copied to clipboard
Request max amount option. If set, tx will send all possible amounts from all inputs, including all tokens; there will be no change; requested amount and token_amount is disregarded in this case.
bool use_max_amount = 5;
Link copied to clipboard
Optional token(s) to be transferred
Currently only one token type to be transferred per transaction is supported
.TW.Cardano.Proto.TokenBundle token_amount = 4;
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