Cosmos Data
sei.cosmos_message_events
Description of the sei.cosmos_message_events table on Dune
Table description
Contains all events and their corresponding attributes partitioned by message_index
. Events are linked to transactions via column tx_id
.
On execution, transactions from Cosmos emit data in two formats:
- Messages (
sei.cosmos_tx_messages
): These provide a high-level, readable summary of actions, such as “send money” or “execute contract.” They are easier to understand and track transaction types. - Events (
sei.cosmos_message_events
): These capture detailed, low-level changes at the chain level, including underlying blockchain modifications that may not always be directly related to state changes. - Use Messages for a general overview and Events when you need detailed insights. The two tables are complementary.
Column Descriptions
Column | Description | Type |
---|---|---|
block_date | The date of the block. | date |
block_height | The height of the block where the event occurred. | bigint |
block_timestamp | Timestamp when the block was validated. | timestamp(3) with time zone |
chain_id | The ID of the chain where the event occurred. | varchar |
tx_id | The transaction ID associated with the event. | varchar |
message_index | The index of the message within the transaction. | bigint |
event_index | The index of the event within the message. | bigint |
event_type | The type of event that occurred. | varchar |
attribute_key | The key of the event attribute. | varchar |
attribute_value | The value of the event attribute. | varchar |
attribute_index | A unique index for attributes within the event. | bigint |
updated_at | Timestamp of when the record was last updated. | timestamp(3) with time zone |
ingested_at | Timestamp of when the record was ingested into Dune. | timestamp(3) with time zone |
Table Sample
Was this page helpful?