eth_syncing-polygon

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

Parameters

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

Returns

  • Object|Boolean, false, when not syncing, or an object with sync status data:
    • 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!