sync_state - Nervos

Returns chain synchronization state of this node.

Parameters

  • none

Returns

The state of sync.

Example

Request

curl --location --request POST 'https://ckb-mirana.unifra.io/v1/4fb36720a57340d39aee4cf68511064a' \
--header 'Content-Type: text/plain' \
--data-raw '{
  "id": 42,
  "jsonrpc": "2.0",
  "method": "sync_state",
  "params": []
}'

Result

{
  "id": 42,
  "jsonrpc": "2.0",
  "result": {
    "best_known_block_number": "0x400",
    "best_known_block_timestamp": "0x5cd2b117",
    "fast_time": "0x3e8",
    "ibd": true,
    "inflight_blocks_count": "0x0",
    "low_time": "0x5dc",
    "normal_time": "0x4e2",
    "orphan_blocks_count": "0x0"
  }
}
Language
Click Try It! to start a request and see the response here!