Skip to main content

Table description

Holds all events that occur on the Peaq chain, including their pallet section and method, as well as the decoded data involved in the event. This table is partitioned by year, month, section, and method for efficient querying. Events are emitted by the runtime and pallets to signal state changes, transaction results, and other important occurrences on the chain. Each event record includes the pallet section and method that emitted it, the block and extrinsic it belongs to, and event data in both raw and decoded formats. Common queries on the events table will typically filter on block_time, section and method and extract JSON encoded information from data or data_decoded.

Column Descriptions

ColumnDescriptionType
yearThe year when the event was emitted, used for partitioning.int
monthThe month when the event was emitted, used for partitioning.int
sectionThe pallet section (module) that emitted the event (e.g., “balances”, “system”).string
methodThe method name within the pallet section that identifies the event type.string
block_timeThe timestamp when the block containing this event was created.timestamp
block_numberThe block number where this event was emitted.bigint
extrinsic_idThe unique identifier of the extrinsic that triggered this event.string
event_idThe unique identifier for the event record.string
dataThe raw event data in JSON format.string
extrinsic_hashThe hash of the extrinsic that triggered this event, in binary format.binary
block_hashThe hash of the block containing this event, in binary format.binary
data_decodedThe decoded event data with type information and human-readable values.string
_updated_atThe time when the event record was last updated.timestamp
_ingested_atThe time when the event data was ingested into the system.timestamp

Table Sample