UnspentTransaction

An unspent transaction output, that can serve as input to a transaction
Protobuf type TW.Bitcoin.Proto.UnspentTransaction

Types

Link copied to clipboard
class Builder
An unspent transaction output, that can serve as input to a transaction
Protobuf type TW.Bitcoin.Proto.UnspentTransaction

Functions

Link copied to clipboard
open fun getAmount(): Long
Amount of the UTXO
int64 amount = 3;
Link copied to clipboard
open fun getDefaultInstance(): UnspentTransaction
Link copied to clipboard
open fun getOutPoint(): OutPoint
The unspent output
.TW.Bitcoin.Proto.OutPoint out_point = 1;
Link copied to clipboard
open fun getScript(): ByteString
Script for claiming this UTXO
bytes script = 2;
Link copied to clipboard
open fun hasOutPoint(): Boolean
The unspent output
.TW.Bitcoin.Proto.OutPoint out_point = 1;
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): UnspentTransaction
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): UnspentTransaction
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): UnspentTransaction
open fun parseFrom(data: ByteString): UnspentTransaction
open fun parseFrom(input: CodedInputStream): UnspentTransaction
open fun parseFrom(input: InputStream): UnspentTransaction
open fun parseFrom(data: ByteBuffer): UnspentTransaction
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): UnspentTransaction
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): UnspentTransaction
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): UnspentTransaction
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): UnspentTransaction
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): UnspentTransaction
Link copied to clipboard
open fun parser(): Parser<UnspentTransaction>

Properties

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