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

Name

Description

tx_data

The raw PSBT bytes.

Created with MrDocs