eth_syncing - Celo
eth_syncing. Checks the synchronization status of the node
eth_syncing - celo [Value: 0CU]
Checks the synchronization status of a node
Use cases
- Check node synchronization status with the blockchain
- Monitor progress of node syncing to network
- Validate node sync state for operational readiness
Constraints
- Requires continuous connection to the node
- Node must support eth_syncing method
- Accurate synchronization data depends on node performance
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl https://celo.drpc.org \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":67}'
'
Response
200
{
"jsonrpc": "2.0",
"id": 67,
"result": {
"startingBlock": "0x384",
"currentBlock": "0x386",
"highestBlock": "0x454"
}
}
Request params
idinteger
jsonrpcstring
methodstring
Response
200
Returns an object with synchronization details if the node is syncing, or false if the node is fully synced.Response params
object
idinteger
jsonrpcstring
resultarray_of_strings
object
startingBlock string
The block number where the import process started, encoded in hexadecimal.
currentBlock string
TThe current block number, the same as eth_blockNumber, encoded in hexadecimal.
highestBlock string
The estimated highest block number, encoded in hexadecimal.