Last updated 25 days ago
method name - string
method name
None
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \ --header 'Content-Type: application/json' \ --data-raw '{"jsonrpc": "2.0", "method": "masternode", "params": ["count"], "id": "getblock.io"}'
{ "error": null, "id": "getblock.io", "result": { "enabled": 4630, "total": 4873 } }
Example code for the masternode_count json-rpc method. Сomplete guide on how to use masternode_count json-rpc in GetBlock.io Web3 documentation.