[#DecodeRawPSBT]
= DecodeRawPSBT
:mrdocs:

Decode a raw binary PSBT into a PartiallySignedTransaction&period;

== Synopsis

Declared in `&lt;psbt&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
xref:util/Result.adoc[util::Result&lt;PartiallySignedTransaction&gt;]
DecodeRawPSBT(std::span&lt;std::byte const&gt; tx&lowbar;data);
----

== Return Value

The decoded PSBT, or an error on failure&period;

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====
== Parameters

[cols="1,4"]
|===
| Name| Description
| *tx&lowbar;data*
| The raw PSBT bytes&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
