Transaction

A transfer transaction
Protobuf type TW.Decred.Proto.Transaction

Types

Link copied to clipboard
class Builder
A transfer transaction
Protobuf type TW.Decred.Proto.Transaction

Functions

Link copied to clipboard
open fun getDefaultInstance(): Transaction
Link copied to clipboard
open fun getExpiry(): Int
The block height at which the transaction expires and is no longer valid.
uint32 expiry = 6;
Link copied to clipboard
open fun getInputs(index: Int): TransactionInput
A list of 1 or more transaction inputs or sources for coins.
repeated .TW.Decred.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.Decred.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.Decred.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.Decred.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.Decred.Proto.TransactionInput inputs = 3;
Link copied to clipboard
open fun getLockTime(): Int
The time when a transaction can be spent (usually zero, in which case it has no effect).
uint32 lockTime = 5;
Link copied to clipboard
open fun getOutputs(index: Int): TransactionOutput
A list of 1 or more transaction outputs or destinations for coins
repeated .TW.Decred.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.Decred.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.Decred.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.Decred.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.Decred.Proto.TransactionOutput outputs = 4;
Link copied to clipboard
open fun getSerializeType(): Int
Serialization format
uint32 serializeType = 1;
Link copied to clipboard
open fun getVersion(): Int
Transaction data format version
uint32 version = 2;
Link copied to clipboard
open fun newBuilder(prototype: Transaction): Decred.Transaction.Builder
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
Link copied to clipboard
Link copied to clipboard