[#DecodeBase64PSBT]
= DecodeBase64PSBT
:mrdocs:

Decode a base64&hyphen;encoded 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;]
DecodeBase64PSBT(std::string const& base64&lowbar;tx);
----

== 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
| *base64&lowbar;tx*
| The base64&hyphen;encoded PSBT&period;
|===


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