btck::Transaction::Transaction

Constructors

Synopses

Declared in <kernel/bitcoinkernel_wrapper.h>

Constructs a transaction by deserializing raw bytes.

explicit
Transaction(std::span<std::byte const> raw_transaction);
» more...

Constructs an owning copy from a view.

Transaction(TransactionView const& view);
» more...

Parameters

NameDescription
raw_transactionThe serialized transaction bytes.
viewThe view to copy.