eth_syncing

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

Request

curl 'https://rpc.web3api.io?x-api-key=YOUR-API-KEY' \
    -X POST \
    -H 'x-amberdata-blockchain-id: ethereum-mainnet' \
    -d '{"jsonrpc":"2.0","id":1,"method":"eth_syncing","params":[]}'

Response

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": false
}

Field

Description

result

An object with sync status data or false, when not syncing.

startingBlock

The block at which the import started (will only be reset, after the sync reached his head).

currentBlock

The current block, same as eth_blockNumber.

highestBlock

The estimated highest block.