Skip to main content

Blocks

Deprecation Incoming

With the Solana Migration, these API endpoints may no longer be available.

Please refer to Oracles and Oracle Data documentation for more information on accessing data.

Available on the Solana API

Height

Available on the Solana API

The data provided by endpoint is available using the Solana API. More information will be made available in the future.

Gets the current height of the blockchainn.

If max_time is specified this returns highest block height that was valid (but not equal to) the given time.max_time can be given as an ISO8601 timestamp or relative time can be used.

GET https://api.helium.io/v1/blocks/height

Query Parameters

paramTypeNote
max_time (optional)stringLast time to include in height search

Block Stats

Available on the Solana API

The data provided by endpoint is available using the Solana API. More information will be made available in the future.

Get statistics on block production times.


GET https://api.helium.io/v1/blocks/stats

No Parameters

--

Block Descriptions

Available on the Solana API

The data provided by endpoint is available using the Solana API. More information will be made available in the future.


GET https://api.helium.io/v1/blocks

Retrieves block descriptions. Blocks descriptions are paged. A cursor field will be in the response when more results are available.

Query Parameters

paramTypeNote
cursor (optional)stringCursor for page to fetch

Block at Height Transactions

Available on the Solana API

The data provided by endpoint is available using the Solana API. More information will be made available in the future.

GET https://api.helium.io/v1/blocks/:height/transactions

Get transactions for a block at a given height. The list of returned transactions is paged. A cursor field is present if more results are available.

Path Parameters

paramTypeNote
height (required)numberBlock height to fetch transaction for

Query Parameters

paramTypeNote
cursor (optional)stringCursor for the page to fetch

Block at Hash

Available on the Solana API

The data provided by endpoint is available using the Solana API. More information will be made available in the future.

GET https://api.helium.io/v1/blocks/hash/:hash

Get block descriptor for the given block hash.

Path Parameters

paramTypeNote
hash (required)stringBlock hash for the block to fetch

Block at Hash Transactions

Available on the Solana API

The data provided by endpoint is available using the Solana API. More information will be made available in the future.

GET https://api.helium.io/v1/blocks/hash/:hash/transactions

Get transactions for a block at a given block hash. The list of returned transactions is paged. A cursor field is present if more results are available.

Path Parameters

paramTypeNote
hash (required)stringBlock hash for the block to fetch

Query Parameters

paramTypeNote
cursor (optional)stringCursor for the page to fetch

Deprecated Endpoints

Block at Height

This Endpoint Is Deprecated

This endpoint is deprecated. The data provided by this endpoint is based on blocks rather than time and daily epochs.

GET https://api.helium.io/v1/blocks/:height

Get block descriptor for block at height

Path Parameters

paramTypeNote
height (required)numberBlockchain Height