Skip to main content

header.SyncWait RPC

SyncWait blocks until the header Syncer is synced to network head.

Updated on
Nov 7, 2024

header.SyncWait RPC

Parameters

This method does not accept any parameters

Returns

result
string
It is null if the node is already fully synced to the network head, as there’s no need to wait
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.SyncWait",
7
"params": []
8
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free