Skip to main content

header.SyncState RPC

Returns the current state of the header Syncer.

Updated on
Nov 7, 2024

header.SyncState RPC

Parameters

This method does not accept any parameters

Returns

result
object
The result object which contains the following fields:
id
integer
A unique identifier for this result
height
integer
Represents the height at which the response was generated
from_height
integer
The starting height of the range of headers
to_height
integer
The ending height of the range of headers
from_hash
string
The block hash corresponding to from_height
to_hash
string
The block hash corresponding to to_height
start
string
The start timestamp of the header range request in ISO 8601 format
end
string
The end timestamp of the header range request in ISO 8601 format
Request
1
curl --location 'https://docs-demo.celestia-mainnet.quiknode.pro/' \
2
--header 'Content-Type: application/json' \
3
--data '{
4
"id": 1,
5
"jsonrpc": "2.0",
6
"method": "header.SyncState",
7
"params": []
8
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free