[#PartiallySignedTransaction-GetUniqueID]
= xref:PartiallySignedTransaction.adoc[PartiallySignedTransaction]::GetUniqueID
:relfileprefix: ../
:mrdocs:

Compute a stable identifier for this PSBT&apos;s underlying transaction&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::optional&lt;Txid&gt;
GetUniqueID() const;
----

== Return Value

The unique id, or nullopt if it cannot be computed&period;


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