system_health RPC Method
Parameters
This method does not accept any parameters
Returns
result
string
Loading...
peers
integer
Loading...
isSyncing
boolean
Loading...
shouldHavePeers
boolean
Loading...
Request
1curl -X POST "https://docs-demo.peaq-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "system_health",6"params": [],7"id": 18}'
1curl -X POST "https://docs-demo.peaq-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "system_health",6"params": [],7"id": 18}'
Response
1{2"jsonrpc": "2.0",3"result": {4"peers": 42,5"isSyncing": false,6"shouldHavePeers": true7},8"id": 19}
1{2"jsonrpc": "2.0",3"result": {4"peers": 42,5"isSyncing": false,6"shouldHavePeers": true7},8"id": 19}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free