DecodeRawPSBT

Decode a raw binary PSBT into a PartiallySignedTransaction.

Synopsis

Declared in <psbt.h>

[[nodiscard]]
util::Result<PartiallySignedTransaction>
DecodeRawPSBT(std::span<std::byte const> tx_data);

Return Value

The decoded PSBT, or an error on failure.

NOTE

The return value should not be discarded.

Parameters

NameDescription
tx_dataThe raw PSBT bytes.