Skip to main content

/eth/v1/node/syncing RPC Method

Get node syncing status.

Updated on
Jun 11, 2024

/eth/v1/node/syncing RPC Method

Parameters

This method does not accept any parameters

Returns

data
object
An object of data which contains the following fields:
is_syncing
boolean
A boolean value indicating if the node is in the process of synchronizing with the blockchain network
is_optimistic
boolean
A boolean value indicating if the node is in an optimistic syncing state, meaning it assumes the network is operating correctly despite not being fully synced
el_offline
boolean
A boolean value indicating if the execution layer (EL) of the node is currently offline
head_slot
string
The slot number that represents the most recent block known to the node
sync_distance
string
The distance in slots between the node's head slot and the latest slot, indicating how far the node is behind in syncing
Request
1
curl --location 'https://docs-demo.quiknode.pro/eth/v1/node/syncing' \
2
--header 'Content-Type: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free