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. The API credit value for this method is 100

  1. Parameters-This method does not accept any parameters

curl https://Krypc-End Point URL/ \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":67}'
  1. 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

Last updated