eth_syncing

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

Parameters

none

Returns

Object|Boolean, An object with sync status data or FALSE, when not syncing:

  • 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

Example

$ wscat -c http://ws-<your-app-id>.ankr.com
Connected (press CTRL+C to quit)
//Request
> {"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":53}
//Response
< {"jsonrpc":"2.0","id":53,"result":{"currentBlock":"0x1d4dad","highestBlock":"0x20fd7a","knownStates":"0x0","pulledStates":"0x0","startingBlock":"0x0"}}