eth_syncing RPC Method
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
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
1curl https://docs-demo.avalanche-mainnet.quiknode.pro/ext/bc/C/rpc/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