eth_syncing

Returns an object with data about the sync status or false.

Parameters

  • No parameters are needed.
curl https://ethereum-mainnet-archive.allthatnode.com/8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj \
--request POST \
--header "Content-Type: application/json" \
--data '{
    "jsonrpc":"2.0",
    "id":1,
    "method":"eth_syncing",
    "params":[]
}'

Returns

  • Sync Status :BOOLEAN - Returnsfalse when not syncing.
  • Sync Blocks: OBJECT:
    • startingBlock: QUANTITY - The block at which the import started (will only be reset, after the sync reached his head)
    • currentBlock: QUANTITY - The current block, same as eth_blockNumber
    • highestBlock: QUANTITY - The estimated highest block
{"jsonrpc":"2.0","id":1,"result":false}

Try Yourself

Language
Click Try It! to start a request and see the response here!