Skip to main content

GetEventsForHeightRange Access API Method

Retrieves events emitted within the specified block range.

Updated on
Oct 04, 2023

Parameters

Type
string
REQUIRED

The type of event

StartHeight
integer
REQUIRED

The starting block height of the range

EndHeight
integer
REQUIRED

The ending block height of the range

Returns

results
array

An array of event results, containing the following properties:

block_id
string

The ID of the block that contains the event

block_height
integer

The height of the block that contains the event

block_timestamp
object

The details of the block's timestamp, including the following properties:

seconds
integer

The seconds component of the timestamp

nanos
integer

The nanoseconds component of the timestamp

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free