Builder

class Builder
Bitcoin transaction input.
Protobuf type TW.Bitcoin.Proto.TransactionInput

Functions

Link copied to clipboard
Reference to the previous transaction's output.
.TW.Bitcoin.Proto.OutPoint previousOutput = 1;
Link copied to clipboard
Computational script for confirming transaction authorization.
bytes script = 3;
Link copied to clipboard
Transaction version as defined by the sender.
uint32 sequence = 2;
Link copied to clipboard
open fun getPreviousOutput(): OutPoint
Reference to the previous transaction's output.
.TW.Bitcoin.Proto.OutPoint previousOutput = 1;
Link copied to clipboard
open fun getScript(): ByteString
Computational script for confirming transaction authorization.
bytes script = 3;
Link copied to clipboard
open fun getSequence(): Int
Transaction version as defined by the sender.
uint32 sequence = 2;
Link copied to clipboard
Reference to the previous transaction's output.
.TW.Bitcoin.Proto.OutPoint previousOutput = 1;
Link copied to clipboard
Reference to the previous transaction's output.
.TW.Bitcoin.Proto.OutPoint previousOutput = 1;
Link copied to clipboard
open fun setPreviousOutput(builderForValue: Builder): Bitcoin.TransactionInput.Builder
Reference to the previous transaction's output.
.TW.Bitcoin.Proto.OutPoint previousOutput = 1;
Link copied to clipboard
open fun setScript(value: ByteString): Bitcoin.TransactionInput.Builder
Computational script for confirming transaction authorization.
bytes script = 3;
Link copied to clipboard
Transaction version as defined by the sender.
uint32 sequence = 2;