Documentation exported from Syscoin Core 4.3.0

syscoingettxroots (4.3.0 RPC)

blockchain

control

evo

generating

governance

masternode

mining

network

rawtransactions

signer

syscoin

util

zmq

syscoingettxroots "blockhash"

Get NEVM transaction and receipt roots based on block hash.

Arguments:
1. blockhash    (string, required) The block hash to lookup.

Result:
{                           (json object)
  "txroot" : "hex",         (string) The transaction merkle root
  "receiptroot" : "hex"     (string) The receipt merkle root
}

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