L0vdL0vd

eth_syncing

Returns the node's sync status.

curl https://eth.l0vdinfra.com/YOUR_KEY \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","id":1,"method":"eth_syncing","params":[]}'

Example response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": false
}
Params and your endpoint

Parameters

This method takes no parameters.

Returns

boolean | object false when fully synced, otherwise an object with startingBlock, currentBlock and highestBlock.

When to use it

Check whether the node behind the endpoint is fully synced.

How to read the result

false when synced; otherwise an object with startingBlock, currentBlock and highestBlock.

Tips

  • L0vd endpoints route only to synced nodes, so you should normally see false.

Related methods