Parameters
chainId
string
default:"starknet-sepolia"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"starknet_syncing"
required
JSON-RPC method name.
This method does not require any parameters.
Returns
A syncing status object containing:
Returns false if the node is not currently syncing state.
Syncing status object containing progress details.
The hash of the block from which the sync started.
The number of the block from which the sync started.
The hash of the current block being synchronized.
The number of the current block being synchronized.
The hash of the estimated highest block to be synchronized.
The number of the estimated highest block to be synchronized.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=starknet-sepolia \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "starknet_syncing",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"starting_block_hash": "0x3fab5dff46b07a0910cd3e255f53bee8183e1d22fdb48aed4514538ecf733d5",
"starting_block_num": "0x1124",
"current_block_hash": "0x59c29817b8d4f71fd355180aad76785a801d54eb08fdd2945d1eec8c1dfcd0b",
"current_block_num": "0x1199",
"highest_block_hash": "0x59c29817b8d4f71fd355180aad76785a801d54eb08fdd2945d1eec8c1dfcd0b",
"highest_block_num": "0x1199"
}
}