btck::TransactionOutput::TransactionOutput

Constructors

Synopses

Declared in <kernel/bitcoinkernel_wrapper.h>

Constructs an owning copy from a view.

TransactionOutput(TransactionOutputView const& view);
» more...

Constructs an output from a script pubkey and amount.

explicit
TransactionOutput(
    ScriptPubkey const& script_pubkey,
    int64_t amount);
» more...

Parameters

NameDescription
viewThe view to copy.
script_pubkeyThe output's locking script.
amountThe output value in satoshis.