Parse a sighash string representation and raise an RPC error if it is invalid.
Synopsis
Declared in <rpc/util.h>
std::optional<int>
ParseSighashString(UniValue const& sighash);
Return Value
The parsed sighash flags, or nullopt if none was given.
Parameters
Name |
Description |
sighash |
The sighash type as a JSON string. |
Created with MrDocs