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
Dec 4, 2024

eth_syncing RPC Method

To use the eth_syncing method on the C-Chain, ensure that the end of your URL includes ext/bc/C/ws.

Parameters

This method does not accept any parameters

Returns

result
object
Returns false if not syncing; otherwise, returns a JSON object when syncing, which includes the following fields:
startingBlock
string
The block at which the import started encoded as hexadecimal
currentBlock
string
The current block, same as eth_blockNumber encoded as hexadecimal
highestBlock
string
The estimated highest block encoded as hexadecimal
Request
1
curl https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":67}'
5
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free