Builder

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

Functions

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