Events

A contract may emit events throughout its execution. Events are a useful tool for logging and notifying external entities about specific occurrences within a contract, with a timestamp (the block number). They emit data that can be accessed by everybody.

Table Columns

Column NameDescription

block_hash

Block hash of the block that this message belongs to.

block_number

Block number of the block that this message belongs to.

block_timestamp

Block timestamp of the block that this message belongs to.

transaction_hash

The transaction hash of the transaction that this message belongs to, as assigned in

StarkNet.

event_index

The index of the event in the transaction's events array.

from_address

The address of the contract emitting the events.

keys

The list of field elements.

data

The list of field elements.

Last updated