Skip to main content

system_syncState RPC method

Returns the state of the syncing of the node.

Parameters

This method does not accept any parameters

Returns

SyncState string

The sync state of the node

startingBlock integer

The block number from which the synchronization process started

currentBlock integer

The block number that the node has currently synced up to

highestBlock integer

The block number of the highest block in the blockchain network

Code Examples

curl https://api-polkadot.dwellir.com/<API-KEY> \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"system_syncState","params":[],"id":1,"jsonrpc":"2.0"}'