eth_syncing
Returns the sync status of the node. Returns false when the node is fully synced.
Parameters
Section titled “Parameters”None.
Returns
Section titled “Returns”result is false if the node is fully synced. Otherwise it is a sync status object with the following fields:
| Field | Type | Description |
|---|---|---|
startingBlock | string | Block at which the sync started (hex). |
currentBlock | string | Current block being processed (hex). |
highestBlock | string | Estimated highest block (hex). |
Example
Section titled “Example”Request
Section titled “Request”{ "jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}Response (synced)
Section titled “Response (synced)”{ "jsonrpc": "2.0", "id": 1, "result": false}