githubEdit

masternode_winners - Dash

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

Parameters

method name - string

None

count - string (hex)

Optional

Number of previous block winners to display (default: 10)

filter - string

Optional

Payment address to filter by

Request

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

Response

Last updated

Was this helpful?