eth_syncing - Ethereum

eth_syncing. Returns an object with the sync status of the node if the node is out-of-sync and is syncing

eth_syncing - ethereum [Value: 0CU]
Returns an object with the sync status of the node if the node is out-of-sync and is syncing.
Use cases

Use cases

  • Check node synchronization status with Ethereum blockchain
  • Monitor progress of node syncing to network
  • Validate node sync state for operational readiness
Constraints

Constraints

  • Requires continuous connection to the Ethereum node
  • Node must support eth_syncing method
  • Accurate synchronization data depends on node performance
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl https://eth.drpc.org \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":67}'
'
Copy
Response
200
{
  "jsonrpc": "2.0",
  "id": 67,
  "result": {
    "startingBlock": "0x384",
    "currentBlock": "0x386",
    "highestBlock": "0x454"
  }
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
ParametersThis method does not accept any parameters.

Response

200

Response params

object
idinteger
jsonrpcstring
resultarray_of_strings
The result is false if JSON Object is not syncing otherwise it's true:
object
startingBlock string
The block at which the import started encoded as hexadecimal
currentBlock string
The current block, same as eth_blockNumber encoded as hexadecimal
startingBlock string
The estimated highest block encoded as hexadecimal