Compute a stable identifier for this PSBT's underlying transaction.
Declared in <psbt.h>
<psbt.h>
std::optional<Txid> GetUniqueID() const;
The unique id, or nullopt if it cannot be computed.