TransferOrBuilder

Functions

Link copied to clipboard
abstract 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
abstract fun getChangeAddress(): String
Change address
string change_address = 2;
Link copied to clipboard
abstract fun getChangeAddressBytes(): ByteString
Change address
string change_address = 2;
Link copied to clipboard
abstract 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
abstract fun getToAddress(): String
Destination address as string
string to_address = 1;
Link copied to clipboard
abstract fun getToAddressBytes(): ByteString
Destination address as string
string to_address = 1;
Link copied to clipboard
abstract 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
abstract fun getUseMaxAmount(): Boolean
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
abstract fun hasTokenAmount(): Boolean
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;

Inheritors

Link copied to clipboard