[#SignTransactionResultToJSON] = SignTransactionResultToJSON :mrdocs: Encode the outcome of a signing attempt as a JSON object == Synopsis Declared in `<rpc/rawtransaction_util.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void SignTransactionResultToJSON( xref:CMutableTransaction.adoc[CMutableTransaction]& mtx, bool complete, std::map<COutPoint, Coin> const& coins, std::map<int, bilingual_str> const& input_errors, xref:UniValue.adoc[UniValue]& result); ---- == Parameters [cols="1,4"] |=== | Name| Description | *mtx* | The transaction that was signed. | *complete* | Whether every input now has a complete signature. | *coins* | Map of outputs spent by the transaction. | *input_errors* | Per‐input signing errors keyed by input index. | *result* | JSON object the signing results are written into. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#