kaia_syncing
Returns an object with data about the sync status or false.
Parameters
Return Value
Name
Type
Description
Example
// Request
curl -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"kaia_syncing","params":[],"id":1}' http://kaia.blockpi.network/v1/rpc/your-api-key
// Result
{
"jsonrpc": "2.0",
"id":1,
"result": {
"currentBlock":"0x3e31e",
"highestBlock":"0x827eef",
"knownStates":"0x0",
"pulledStates":"0x0",
"startingBlock":"0x0"
}
}
// Or when not syncing
{
"jsonrpc": "2.0",
"id":1,
"result": false
}Last updated
Was this helpful?