Constructs an output from a script pubkey and amount.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

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

Parameters

Name

Description

script_pubkey

The output's locking script.

amount

The output value in satoshis.

Created with MrDocs