TransactionPlan

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

Types

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

Functions

Link copied to clipboard
open fun getAmount(): Long
Amount to be received at the other end.
int64 amount = 1;
Link copied to clipboard
Maximum available amount in all the input UTXOs.
int64 available_amount = 2;
Link copied to clipboard
open fun getBranchId(): ByteString
Zcash branch id
bytes branch_id = 6;
Link copied to clipboard
open fun getChange(): Long
Remaining change
int64 change = 4;
Link copied to clipboard
open fun getDefaultInstance(): TransactionPlan
Link copied to clipboard
open fun getError(): SigningError
Optional error
.TW.Common.Proto.SigningError error = 7;
Link copied to clipboard
open fun getErrorValue(): Int
Optional error
.TW.Common.Proto.SigningError error = 7;
Link copied to clipboard
open fun getFee(): Long
Estimated transaction fee.
int64 fee = 3;
Link copied to clipboard
open fun getOutputOpReturn(): ByteString
Optional zero-amount, OP_RETURN output
bytes output_op_return = 8;
Link copied to clipboard
open fun getUtxos(index: Int): UnspentTransaction
Selected unspent transaction outputs (subset of all input UTXOs)
repeated .TW.Bitcoin.Proto.UnspentTransaction utxos = 5;
Link copied to clipboard
open fun getUtxosCount(): Int
Selected unspent transaction outputs (subset of all input UTXOs)
repeated .TW.Bitcoin.Proto.UnspentTransaction utxos = 5;
Link copied to clipboard
open fun getUtxosList(): List<UnspentTransaction>
Selected unspent transaction outputs (subset of all input UTXOs)
repeated .TW.Bitcoin.Proto.UnspentTransaction utxos = 5;
Link copied to clipboard
open fun getUtxosOrBuilder(index: Int): UnspentTransactionOrBuilder
Selected unspent transaction outputs (subset of all input UTXOs)
repeated .TW.Bitcoin.Proto.UnspentTransaction utxos = 5;
Link copied to clipboard
open fun getUtxosOrBuilderList(): List<out UnspentTransactionOrBuilder>
Selected unspent transaction outputs (subset of all input UTXOs)
repeated .TW.Bitcoin.Proto.UnspentTransaction utxos = 5;
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