TransactionPlanOrBuilder

Functions

Link copied to clipboard
abstract fun getAmount(): Long
coins in the output UTXO
uint64 amount = 2;
Link copied to clipboard
abstract fun getAvailableAmount(): Long
total coins in the utxos
uint64 available_amount = 1;
Link copied to clipboard
abstract fun getAvailableTokens(index: Int): TokenAmount
total tokens in the utxos (optional)
repeated .TW.Cardano.Proto.TokenAmount available_tokens = 5;
Link copied to clipboard
total tokens in the utxos (optional)
repeated .TW.Cardano.Proto.TokenAmount available_tokens = 5;
Link copied to clipboard
abstract fun getAvailableTokensList(): List<TokenAmount>
total tokens in the utxos (optional)
repeated .TW.Cardano.Proto.TokenAmount available_tokens = 5;
Link copied to clipboard
abstract fun getChange(): Long
coins in the change UTXO
uint64 change = 4;
Link copied to clipboard
abstract fun getChangeTokens(index: Int): TokenAmount
tokens in the change (optional)
repeated .TW.Cardano.Proto.TokenAmount change_tokens = 7;
Link copied to clipboard
abstract fun getChangeTokensCount(): Int
tokens in the change (optional)
repeated .TW.Cardano.Proto.TokenAmount change_tokens = 7;
Link copied to clipboard
abstract fun getChangeTokensList(): List<TokenAmount>
tokens in the change (optional)
repeated .TW.Cardano.Proto.TokenAmount change_tokens = 7;
Link copied to clipboard
abstract fun getDeposit(): Long
coins deposited (going to deposit) in this TX
uint64 deposit = 10;
Link copied to clipboard
abstract fun getError(): SigningError
Optional error
.TW.Common.Proto.SigningError error = 9;
Link copied to clipboard
abstract fun getErrorValue(): Int
Optional error
.TW.Common.Proto.SigningError error = 9;
Link copied to clipboard
abstract fun getFee(): Long
coin amount deducted as fee
uint64 fee = 3;
Link copied to clipboard
abstract fun getOutputTokens(index: Int): TokenAmount
tokens in the output (optional)
repeated .TW.Cardano.Proto.TokenAmount output_tokens = 6;
Link copied to clipboard
abstract fun getOutputTokensCount(): Int
tokens in the output (optional)
repeated .TW.Cardano.Proto.TokenAmount output_tokens = 6;
Link copied to clipboard
abstract fun getOutputTokensList(): List<TokenAmount>
tokens in the output (optional)
repeated .TW.Cardano.Proto.TokenAmount output_tokens = 6;
Link copied to clipboard
abstract fun getUndeposit(): Long
coins undeposited (coming from deposit) in this TX
uint64 undeposit = 11;
Link copied to clipboard
abstract fun getUtxos(index: Int): TxInput
The selected UTXOs, subset ot the input UTXOs
repeated .TW.Cardano.Proto.TxInput utxos = 8;
Link copied to clipboard
abstract fun getUtxosCount(): Int
The selected UTXOs, subset ot the input UTXOs
repeated .TW.Cardano.Proto.TxInput utxos = 8;
Link copied to clipboard
abstract fun getUtxosList(): List<TxInput>
The selected UTXOs, subset ot the input UTXOs
repeated .TW.Cardano.Proto.TxInput utxos = 8;

Inheritors

Link copied to clipboard