Documentation exported from Syscoin Core 4.2.0

getnotarysighash (4.2.0 RPC)

blockchain

control

evo

evowallet

generating

governance

governancewallet

masternode

mining

network

rawtransactions

syscoin

syscoinwallet

util

wallet

zmq

getnotarysighash "hex" asset_guid

Get sighash for notary to sign off on, use assettransactionnotarize to update the transaction after re-singing once sighash is used to create a notarized signature.

Arguments:
1. hex           (string, required) Transaction to get sighash for.
2. asset_guid    (numeric, required) The guid of the asset to sighash for.

Result:
{                       (json object)
  "sighash" : "hex"     (string) Notary sighash (uint256)
}

Examples:
> syscoin-cli getnotarysighash "hex" 12121
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getnotarysighash", "params": ["hex",12121]}' -H 'content-type: text/plain;' http://127.0.0.1:8370/