masternode_payments - Dash

Example code for the masternode_payments json-rpc method. Сomplete guide on how to use masternode_payments json-rpc in GetBlock.io Web3 documentation.

Parameters

method name - string

None

Block Hash - string (hex)

Optional

The hash of the starting block (default: tip)

count - number (int)

Optional

The number of blocks to return (default: 1). Will return previous blocks if is negative. Both 1 and -1 correspond to the chain tip.

Request

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "masternode",
"params": ["payments", null, null],
"id": "getblock.io"}'

Response

Last updated

Was this helpful?