klay_syncing
Returns an object with data about the sync status or false.
Parameters
None
Return Value
Object|Boolean
, an object with sync status data or false
when not syncing:
Name | Type | Description |
---|---|---|
startingBlock | QUANTITY | The block at which the import started (will only be reset, after the sync reached his head). |
currentBlock | QUANTITY | The current block, same as |
highestBlock | QUANTITY | The estimated highest block. |
pulledStates | QUANTITY | The number of state entries processed until now. If the sync mode is not "fast", zero is returned. |
knownStates | QUANTITY | The number of known state entries that still need to be pulled. If the sync mode is not "fast", zero is returned. |
Example
Last updated