eth_syncing - Optimism

eth_syncing. Checks the synchronization status of the node

eth_syncing - optimism [Value: 0CU]
Checks the synchronization status of a node
Use cases

Use cases

  • Check node synchronization status with the blockchain
  • Monitor progress of node syncing to network
  • Validate node sync state for operational readiness
Constraints

Constraints

  • Requires continuous connection to the node
  • Node must support eth_syncing method
  • Accurate synchronization data depends on node performance
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl https://optimism.drpc.org \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":67}'
'
Copy
Response
200
{
  "jsonrpc": "2.0",
  "id": 67,
  "result": {
    "startingBlock": "0x384",
    "currentBlock": "0x386",
    "highestBlock": "0x454"
  }
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
ParametersThis method does not accept any parameters.

Response

200
Returns an object with synchronization details if the node is syncing, or false if the node is fully synced.

Response params

object
idinteger
jsonrpcstring
resultarray_of_strings
object
startingBlock string
The block number where the import process started, encoded in hexadecimal.
currentBlock string
TThe current block number, the same as eth_blockNumber, encoded in hexadecimal.
highestBlock string
The estimated highest block number, encoded in hexadecimal.