eth_syncing
Checks the synchronization status of an Ethereum node
Request
Examples
curl https://rpc.xone.org \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":67}'
'
Response
200 OK
{
"jsonrpc": "2.0",
"id": 67,
"result": {
"startingBlock": "0x384",
"currentBlock": "0x386",
"highestBlock": "0x454"
}
}
Request params
Name | Type | Description |
---|---|---|
id | integer | Request identifier |
jsonrpc | string | JSON-RPC version |
method | string | API method name |
Parameters | This method does not accept any parameters. |
Response
200
Returns an object with synchronization details if the node is syncing, or false if the node is fully synced.Name | Type | Description |
---|---|---|
Parameters | object | |
id | integer | |
jsonrpc | string | |
result | array_of_strings |