Skip to main content

starknet_syncing RPC Method

Returns an object about the sync status, or false if the node is not synching.

Updated on
Mar 18, 2024

starknet_syncing RPC Method

Parameters

This method does not accept any parameters

Returns

result
string
The status of the node, if it is currently synchronizing state. FALSE otherwise.
starting_block_hash
string
The hash of the block from which the sync started
starting_block_num
integer
The number (height) of the block from which the sync started
current_block_hash
integer
The hash of the current block being synchronized
current_block_num
string
The number (height) of the current block being synchronized
highest_block_hash
integer
The hash of the estimated highest block to be synchronized
highest_block_num
string
The number (height) of the estimated highest block to be synchronized
Request
1
curl --location 'https://docs-demo.strk-mainnet.quiknode.pro/' \
2
--header 'accept: application/json' \
3
--header 'content-type: application/json' \
4
--data '{
5
"id": 1,
6
"jsonrpc": "2.0",
7
"method": "starknet_syncing",
8
"params": []
9
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free