TransactionPlan

Describes a preliminary transaction plan.
Protobuf type TW.Cardano.Proto.TransactionPlan

Types

Link copied to clipboard
class Builder
Describes a preliminary transaction plan.
Protobuf type TW.Cardano.Proto.TransactionPlan

Functions

Link copied to clipboard
open fun getAmount(): Long
coins in the output UTXO
uint64 amount = 2;
Link copied to clipboard
total coins in the utxos
uint64 available_amount = 1;
Link copied to clipboard
open 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
open fun getAvailableTokensList(): List<TokenAmount>
total tokens in the utxos (optional)
repeated .TW.Cardano.Proto.TokenAmount available_tokens = 5;
Link copied to clipboard
open fun getAvailableTokensOrBuilder(index: Int): TokenAmountOrBuilder
total tokens in the utxos (optional)
repeated .TW.Cardano.Proto.TokenAmount available_tokens = 5;
Link copied to clipboard
open fun getAvailableTokensOrBuilderList(): List<out TokenAmountOrBuilder>
total tokens in the utxos (optional)
repeated .TW.Cardano.Proto.TokenAmount available_tokens = 5;
Link copied to clipboard
open fun getChange(): Long
coins in the change UTXO
uint64 change = 4;
Link copied to clipboard
open fun getChangeTokens(index: Int): TokenAmount
tokens in the change (optional)
repeated .TW.Cardano.Proto.TokenAmount change_tokens = 7;
Link copied to clipboard
tokens in the change (optional)
repeated .TW.Cardano.Proto.TokenAmount change_tokens = 7;
Link copied to clipboard
open fun getChangeTokensList(): List<TokenAmount>
tokens in the change (optional)
repeated .TW.Cardano.Proto.TokenAmount change_tokens = 7;
Link copied to clipboard
open fun getChangeTokensOrBuilder(index: Int): TokenAmountOrBuilder
tokens in the change (optional)
repeated .TW.Cardano.Proto.TokenAmount change_tokens = 7;
Link copied to clipboard
open fun getChangeTokensOrBuilderList(): List<out TokenAmountOrBuilder>
tokens in the change (optional)
repeated .TW.Cardano.Proto.TokenAmount change_tokens = 7;
Link copied to clipboard
open fun getDefaultInstance(): TransactionPlan
Link copied to clipboard
open fun getDeposit(): Long
coins deposited (going to deposit) in this TX
uint64 deposit = 10;
Link copied to clipboard
open fun getError(): SigningError
Optional error
.TW.Common.Proto.SigningError error = 9;
Link copied to clipboard
open fun getErrorValue(): Int
Optional error
.TW.Common.Proto.SigningError error = 9;
Link copied to clipboard
open fun getFee(): Long
coin amount deducted as fee
uint64 fee = 3;
Link copied to clipboard
open fun getOutputTokens(index: Int): TokenAmount
tokens in the output (optional)
repeated .TW.Cardano.Proto.TokenAmount output_tokens = 6;
Link copied to clipboard
tokens in the output (optional)
repeated .TW.Cardano.Proto.TokenAmount output_tokens = 6;
Link copied to clipboard
open fun getOutputTokensList(): List<TokenAmount>
tokens in the output (optional)
repeated .TW.Cardano.Proto.TokenAmount output_tokens = 6;
Link copied to clipboard
open fun getOutputTokensOrBuilder(index: Int): TokenAmountOrBuilder
tokens in the output (optional)
repeated .TW.Cardano.Proto.TokenAmount output_tokens = 6;
Link copied to clipboard
open fun getOutputTokensOrBuilderList(): List<out TokenAmountOrBuilder>
tokens in the output (optional)
repeated .TW.Cardano.Proto.TokenAmount output_tokens = 6;
Link copied to clipboard
open fun getUndeposit(): Long
coins undeposited (coming from deposit) in this TX
uint64 undeposit = 11;
Link copied to clipboard
open fun getUtxos(index: Int): TxInput
The selected UTXOs, subset ot the input UTXOs
repeated .TW.Cardano.Proto.TxInput utxos = 8;
Link copied to clipboard
open fun getUtxosCount(): Int
The selected UTXOs, subset ot the input UTXOs
repeated .TW.Cardano.Proto.TxInput utxos = 8;
Link copied to clipboard
open fun getUtxosList(): List<TxInput>
The selected UTXOs, subset ot the input UTXOs
repeated .TW.Cardano.Proto.TxInput utxos = 8;
Link copied to clipboard
open fun getUtxosOrBuilder(index: Int): TxInputOrBuilder
The selected UTXOs, subset ot the input UTXOs
repeated .TW.Cardano.Proto.TxInput utxos = 8;
Link copied to clipboard
open fun getUtxosOrBuilderList(): List<out TxInputOrBuilder>
The selected UTXOs, subset ot the input UTXOs
repeated .TW.Cardano.Proto.TxInput utxos = 8;
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): TransactionPlan
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): TransactionPlan
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): TransactionPlan
open fun parseFrom(data: ByteString): TransactionPlan
open fun parseFrom(input: CodedInputStream): TransactionPlan
open fun parseFrom(input: InputStream): TransactionPlan
open fun parseFrom(data: ByteBuffer): TransactionPlan
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): TransactionPlan
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): TransactionPlan
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): TransactionPlan
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): TransactionPlan
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): TransactionPlan
Link copied to clipboard
open fun parser(): Parser<TransactionPlan>

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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard