v1

latestOpenAPI 3.0.02026-07-26268286602.5 KB
blocks

Get countdown information for a target block number

Calculates the estimated time remaining until a specified block number is reached based on current block and average block time.

get/{chain_id}/api/v2/blocks/{block_number_param}/countdown

Path parameters

block_number_paraminteger required

Block number in the path

chain_idstring required

The ID of the blockchain

Response

Block countdown information.

countdown_blockinteger required

The target block number for the countdown

current_blockinteger required

The current highest block number in the blockchain

estimated_time_in_secnumber float required

Estimated time in seconds until the target block is reached

remaining_blocksinteger required

Number of blocks remaining until the target block is reached

Example response

{
  "countdown_block": 22600000,
  "current_block": 22566361,
  "estimated_time_in_sec": 404868,
  "remaining_blocks": 33639
}