Skip to main content

kaia_syncing RPC Method

Returns an object with data about the sync status or false.

Updated on
Aug 7, 2024

kaia_syncing RPC Method

Parameters

This method does not accept any parameters

Returns

result
object
The result is false if JSON Object is not syncing otherwise it's true:
startingBlock
string
The block at which the import started encoded as hexadecimal
currentBlock
string
The current block, same as eth_blockNumber encoded as hexadecimal
highestBlock
string
The estimated highest block encoded as hexadecimal
knownStates
string
The number of state entries that the node is aware of, represented in hexadecimal format
pulledStates
string
The number of state entries that have been pulled into the node, represented in hexadecimal format
Request
1
curl https://docs-demo.kaia-kairos.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{
5
"method": "kaia_syncing",
6
"id": 1,
7
"jsonrpc": "2.0",
8
"params": []
9
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free