eth_syncing RPC Method
Parameters
This method does not accept any parameters
Returns
result
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
1curl https://docs-demo.xdai.quiknode.pro/ \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