Returns all event objects matching the conditions in the provided filter.

The starknet_getEvents command allows users to obtain all event objects that match the filter conditions.

The StarkNet event mechanism allows a contract to output information during its execution that can later be used outside of StarkNet.

Example: consider a token contract that allows transfers of tokens between users. By only querying StarkNet storage, a user can see how many tokens they have, not who transferred those tokens. An event, emitted by the contract whenever funds are transferred, can be used to allow the user to get this information.


The conditions used to filter the returned events.


All the event objects matching the filter.

Last updated