Events
Filters will soon be updated, there will be standardization. The change will be available from 04.12.2022 (delayed)
This is the Beta
version.
Get events
get_events
GET
https://beta.starknet.events/api/v1/get_events
Returns all decoded StarkNet event
objects matching the conditions in the provided filter.
📝 Note: query parameter
requires the name
of the event.
Query Parameters
Name | Type | Description |
---|---|---|
chainId* | Enum: StarkNet chain id, given in string form. | |
fromBlock* | Integer | The block's number (it's height). |
toBlock* | Integer | The block's number (it's height). |
fromTimestamp | String<date-time> | The earliest timestamp to include in the query (RFC 3339). |
toTimestamp | String<date-time> | The latest timestamp to include in the query (RFC 3339). |
contract | Array of strings | From address (contract). Represented as up to |
name | Array of strings | Event name. |
keys | Array of strings | Event keys. |
parameter | String | Event parameter. Type of Map.
- |
page_number* | Integer |
The page number to return. |
page_size* | Integer |
The number of results to return per page. |
Try this endpoint in your browser.
Last updated