Builder

class Builder
Bitcoin transaction output.
Protobuf type TW.Bitcoin.Proto.TransactionOutput

Functions

Link copied to clipboard
Usually contains the public key as a Bitcoin script setting up conditions to claim this output.
bytes script = 2;
Link copied to clipboard
Transaction amount.
int64 value = 1;
Link copied to clipboard
open fun getScript(): ByteString
Usually contains the public key as a Bitcoin script setting up conditions to claim this output.
bytes script = 2;
Link copied to clipboard
open fun getValue(): Long
Transaction amount.
int64 value = 1;
Link copied to clipboard
open fun setScript(value: ByteString): Bitcoin.TransactionOutput.Builder
Usually contains the public key as a Bitcoin script setting up conditions to claim this output.
bytes script = 2;
Link copied to clipboard
Transaction amount.
int64 value = 1;