Skip to main content
The Block API provides access to blockchain blocks and their headers. Use these endpoints to retrieve block data for analysis, verification, or synchronization.

get_block

Retrieve a complete block including transactions by block number.

Parameters

number
required
The block number to retrieve

Response

ApiBlock | undefined
The block object, or undefined if block doesn’t exist

get_block_header

Retrieve only the block header without transaction data.

Parameters

number
required
The block number to retrieve

Response

ApiBlockHeader
The block header object

get_block_range

Retrieve multiple consecutive blocks in a single request.

Parameters

number
required
The first block number to retrieve
number
required
Number of consecutive blocks to retrieve

Response

ApiBlock[]
Array of block objects. See get_block for block structure.

Common use cases

Sync blockchain data

Use get_block_range to efficiently sync multiple blocks:

Verify block integrity

Check block header information without downloading full transaction data: