getblockmininginfo - Pastel RPC

getblockmininginfo "block_hash|block_height" (block_count) (filter)
Returns information about blocks mined and signed by masternodes.

Arguments:
1. "block_hash|block_height"   (string or numeric, required) The block hash or height to start from
2. block_count                 (numeric, optional, default=1) The number of blocks to return backwards
3. filter                      (string, optional) filter results by masternode collateral id (txid-vout) or mnid

Result:
[
    {
        "blockhash": "xxxx",     (string) The block hash
		"height": n,             (numeric) The block height
		"mnid": "xxxx",          (string) The masternode id that mined the block
		"collateralid": "xxxx",  (string) The masternode collateral id (txid-vout)
    },
	...
]

Examples:
> pastel-cli getblockmininginfo 1000 10
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockmininginfo", "params": [1000 10] }' -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

Addressindex