[#SignetTxs-Create] = xref:SignetTxs.adoc[SignetTxs]::Create :relfileprefix: ../ :mrdocs: Builds the signet to_spend/to_sign transaction pair for a block. == Synopsis Declared in `<signet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::optional<SignetTxs> Create( xref:CBlock.adoc[CBlock] const& block, xref:CScript.adoc[CScript] const& challenge); ---- == Return Value The signet transaction pair, or std::nullopt if it cannot be built. == Parameters [cols="1,4"] |=== | Name| Description | *block* | The block to derive the signet transactions from. | *challenge* | The signet challenge script. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#