Skip to main content

eth_syncing RPC Method

Returns an object with the sync status of the node if the node is out-of-sync and is syncing. Returns false when the node is already in sync.

Updated on
Jul 10, 2024

eth_syncing RPC Method

Parameters

This method does not accept any parameters

Returns

result
object
The result is false if JSON Object is not syncing otherwise it's true:
startingBlock
The block at which the import started encoded as hexadecimal
currentBlock
The current block, same as eth_blockNumber encoded as hexadecimal
highestBlock
The estimated highest block encoded as hexadecimal
Request
1
curl https://docs-demo.hedera-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free