system_health - Moonriver
Example code for the system_health json-rpc method. Сomplete guide on how to use system_health json-rpc in GetBlock.io Web3 documentation.
Parameters
-
Request
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "system_health",
"params": [],
"id": "getblock.io"}'
Response
{
"id": "getblock.io",
"jsonrpc": "2.0",
"result": {
"isSyncing": false,
"peers": 21,
"shouldHavePeers": true
}
}
Previoussystem_dryRun {disallowed} - MoonriverNextsystem_localListenAddresses {disallowed} - Moonriver
Last updated