Transaction

A transaction, with its inputs and outputs
Protobuf type TW.Bitcoin.Proto.Transaction

Types

Link copied to clipboard
class Builder
A transaction, with its inputs and outputs
Protobuf type TW.Bitcoin.Proto.Transaction

Functions

Link copied to clipboard
open fun getDefaultInstance(): Transaction
Link copied to clipboard
open fun getInputs(index: Int): TransactionInput
A list of 1 or more transaction inputs or sources for coins.
repeated .TW.Bitcoin.Proto.TransactionInput inputs = 3;
Link copied to clipboard
open fun getInputsCount(): Int
A list of 1 or more transaction inputs or sources for coins.
repeated .TW.Bitcoin.Proto.TransactionInput inputs = 3;
Link copied to clipboard
open fun getInputsList(): List<TransactionInput>
A list of 1 or more transaction inputs or sources for coins.
repeated .TW.Bitcoin.Proto.TransactionInput inputs = 3;
Link copied to clipboard
open fun getInputsOrBuilder(index: Int): TransactionInputOrBuilder
A list of 1 or more transaction inputs or sources for coins.
repeated .TW.Bitcoin.Proto.TransactionInput inputs = 3;
Link copied to clipboard
open fun getInputsOrBuilderList(): List<out TransactionInputOrBuilder>
A list of 1 or more transaction inputs or sources for coins.
repeated .TW.Bitcoin.Proto.TransactionInput inputs = 3;
Link copied to clipboard
open fun getLockTime(): Int
The block number or timestamp at which this transaction is unlocked.
uint32 lockTime = 2;
Link copied to clipboard
open fun getOutputs(index: Int): TransactionOutput
A list of 1 or more transaction outputs or destinations for coins.
repeated .TW.Bitcoin.Proto.TransactionOutput outputs = 4;
Link copied to clipboard
open fun getOutputsCount(): Int
A list of 1 or more transaction outputs or destinations for coins.
repeated .TW.Bitcoin.Proto.TransactionOutput outputs = 4;
Link copied to clipboard
open fun getOutputsList(): List<TransactionOutput>
A list of 1 or more transaction outputs or destinations for coins.
repeated .TW.Bitcoin.Proto.TransactionOutput outputs = 4;
Link copied to clipboard
open fun getOutputsOrBuilder(index: Int): TransactionOutputOrBuilder
A list of 1 or more transaction outputs or destinations for coins.
repeated .TW.Bitcoin.Proto.TransactionOutput outputs = 4;
Link copied to clipboard
open fun getOutputsOrBuilderList(): List<out TransactionOutputOrBuilder>
A list of 1 or more transaction outputs or destinations for coins.
repeated .TW.Bitcoin.Proto.TransactionOutput outputs = 4;
Link copied to clipboard
open fun getVersion(): Int
Transaction data format version.
sint32 version = 1;
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): Transaction
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Transaction
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): Transaction
open fun parseFrom(data: ByteString): Transaction
open fun parseFrom(input: CodedInputStream): Transaction
open fun parseFrom(input: InputStream): Transaction
open fun parseFrom(data: ByteBuffer): Transaction
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): Transaction
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): Transaction
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Transaction
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Transaction
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): Transaction
Link copied to clipboard
open fun parser(): Parser<Transaction>

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard