Builder

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
Amount of the UTXO
int64 amount = 3;
Link copied to clipboard
The unspent output
.TW.Bitcoin.Proto.OutPoint out_point = 1;
Link copied to clipboard
Script for claiming this UTXO
bytes script = 2;
Link copied to clipboard
open fun getAmount(): Long
Amount of the UTXO
int64 amount = 3;
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
The unspent output
.TW.Bitcoin.Proto.OutPoint out_point = 1;
Link copied to clipboard
Amount of the UTXO
int64 amount = 3;
Link copied to clipboard
open fun setOutPoint(builderForValue: Builder): Bitcoin.UnspentTransaction.Builder
The unspent output
.TW.Bitcoin.Proto.OutPoint out_point = 1;
Link copied to clipboard
open fun setScript(value: ByteString): Bitcoin.UnspentTransaction.Builder
Script for claiming this UTXO
bytes script = 2;