MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / TransactionOutput

Method TransactionOutput

src/kernel/bitcoinkernel_wrapper.h:479–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477{
478public:
479 explicit TransactionOutput(const ScriptPubkey& script_pubkey, int64_t amount)
480 : Handle{btck_transaction_output_create(script_pubkey.get(), amount)} {}
481
482 TransactionOutput(const TransactionOutputView& view)
483 : Handle(view) {}

Callers

nothing calls this directly

Calls 2

getMethod · 0.45

Tested by

no test coverage detected