Skip to main content

optimism_syncStatus RPC Method

Get the synchronization status.

Updated on
Jul 21, 2025

Parameters

This method does not accept any parameters

Returns

result
object

The result object which contains the following fields:

current_l1
object

The current_l1 object which contains the following fields:

hash
string

The hash of the current L1 synchronization status

number
integer

The block number of the current L1 synchronization status

parentHash
string

The hash of the parent block

timestamp
integer

The timestamp of the current L1 synchronization status

current_l1_finalized
object

The current_l1_finalized object which contains the following fields:

hash
string

The hash of the finalized state of the current L1

number
integer

The block number of the finalized state of the current L1

parentHash
string

The hash of the parent block

timestamp
integer

The timestamp of the finalized state of the current L1

head_l1
object

The head_l1 object which contains the following fields:

hash
string

The hash of the head L1

number
integer

The block number of the head L1

parentHash
string

The hash of the parent block

timestamp
integer

The timestamp of the head L1

safe_l1
object

The safe_l1 object which contains the following fields:

hash
string

The hash of the safe L1

number
integer

The block number of the safe L1

parentHash
string

The hash of the parent block

timestamp
integer

The timestamp of the safe L1

finalized_l1
object

The finalized_l1 object which contains the following fields:

hash
string

The hash of the finalized L1

number
integer

The block number of the finalized L1

parentHash
string

The hash of the parent block

timestamp
integer

The timestamp of the finalized L1

unsafe_l2
object

The unsafe_l2 object which contains the following fields:

hash
string

The hash of the unsafe L2

number
integer

The block number of the unsafe L2

parentHash
string

The hash of the parent block

timestamp
integer

The timestamp of the unsafe L2

l1origin
object

The l1origin object which contains the following fields

hash
string

The hash of the L1 origin block

number
integer

The block number of the L1 origin

sequenceNumber
integer

The sequence number of the unsafe L2

safe_l2
object

The safe_l2 object which contains the following fields:

hash
string

The hash of the safe L2

number
integer

The block number of the safe L2

parentHash
string

The hash of the parent block

timestamp
integer

The timestamp of the safe L2

l1origin
object

The l1origin object which contains the following fields

hash
string

The hash of the L1 origin block

number
integer

The block number of the L1 origin

sequenceNumber
integer

The sequence number of the safe L2

finalized_l2
object

The finalized_l2 object which contains the following fields:

hash
string

The hash of the finalized L2

number
integer

The block number of the finalized L2

parentHash
string

The hash of the parent block

timestamp
integer

The timestamp of the finalized L2

l1origin
object

The l1origin object which contains the following fields

hash
string

The hash of the L1 origin block

number
integer

The block number of the L1 origin

sequenceNumber
integer

The sequence number of the finalized L2

pending_safe_l2
object

The pending_safe_l2 object which contains the following fields:

hash
string

The hash of the pending safe L2

number
integer

The block number of the pending safe L2

parentHash
string

The hash of the parent block

timestamp
integer

The timestamp of the pending safe L2

l1origin
object

The l1origin object which contains the following fields

hash
string

The hash of the L1 origin block

number
integer

The block number of the L1 origin

sequenceNumber
integer

The sequence number of the pending safe L2

cross_unsafe_l2
object

(Optional) The cross_unsafe_l2 object which contains the following fields:

hash
string

The hash of the cross unsafe L2

number
integer

The block number of the cross unsafe L2

parentHash
string

The hash of the parent block

timestamp
integer

The timestamp of the cross unsafe L2

l1origin
object

The l1origin object which contains the following fields

hash
string

The hash of the L1 origin block

number
integer

The block number of the L1 origin

sequenceNumber
integer

The sequence number of the cross unsafe L2

local_safe_l2
object

The local_safe_l2 object which contains the following fields:

hash
string

The hash of the local safe L2

number
integer

The block number of the local safe L2

parentHash
string

The hash of the parent block

timestamp
integer

The timestamp of the local safe L2

l1origin
object

The l1origin object which contains the following fields

hash
string

The hash of the L1 origin block

number
integer

The block number of the L1 origin

sequenceNumber
integer

The sequence number of the local safe L2

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free