[#HidingSigningProvider-GetMuSig2SecNonce] = xref:HidingSigningProvider.adoc[HidingSigningProvider]::GetMuSig2SecNonce :relfileprefix: ../ :mrdocs: Retrieve the MuSig2 secret nonce for a signing session. == Synopsis Declared in `<script/signingprovider.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual std::optional<std::reference_wrapper<MuSig2SecNonce>> GetMuSig2SecNonce(xref:uint256.adoc[uint256] const& session_id) const override; ---- == Return Value A reference to the nonce, or std::nullopt if none is stored. == Parameters [cols="1,4"] |=== | Name| Description | *session_id* | The session id to retrieve the nonce for. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#