getblocksignature - Pastel RPC

getblocksignature
Returns merkle root signature for the current active blockchain tip block.
Works only for masternode enabled for mining (-genenablemnmining option).

Result:
{
    "pastelid": "xxxx",    (string) The masternode id (mnid)
	"signature": "xxxx",   (string) The chain tip merkle root signature
    "utc_timestamp": n,    (numeric) The UTC timestamp of the signature
    "blockhash": "xxxx",   (string) The chain tip block hash
    "height": n,           (numeric) The chain tip block height
}

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


Maintained by Pastel Network; license of the docs is MIT (see pastel repo)

Generated from a mainnet node