starknet_getEvents

Returns all event objects matching the conditions in the provided filter

Path Params
string
required
Defaults to docs-demo

For higher throughput, create your own API key

Body Params

Request Body

integer
Defaults to 1
string
Defaults to 2.0
string
Defaults to starknet_getEvents
params
array
length between 2 and 2
Defaults to [object Object]

The conditions used to filter the returned events

filter
Response

Response body
object
integer
string
result
object

All the event objects matching the filter

events
array of objects
required
Matching Events*
object
string
required
Defaults to 0x044e5b3f0471a26bc749ffa1d8dd8e43640e05f1b33cf05cef6adee6f5b1b4cf

A field element. represented by at most 63 hex digits

keys
array of strings
required
keys*
data
array of strings
required
data*
string
required
Defaults to 0x03b6581f3222ff1f79c0e9959462aef03bd464999e998292772a0c51da53f9b1

A field element. represented by at most 63 hex digits

integer
required
≥ 0
Defaults to 38

The block's number (its height)

string
required
Defaults to 0x019041241b3e0924636b94fd780eca8ed82149299a5fd2f9c90aaeabe5da8728

The transaction hash, as assigned in StarkNet

string

Use this token in a subsequent query to obtain the next page. Should not appear if there are no more pages.

Language
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json
ReadMe
Support Hub