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 nameData TypeDescription
block_datedateThe date of the block.
block_heightbigintThe height of the block where the message event occurred.
block_timestamptimestamp(3) with time zoneTimestamp when the block was validated.
chain_idvarcharThe ID of the chain where the message event belongs.
tx_idvarcharThe hash of the transaction containing the message event.
tx_indexbigintThe index of the transaction in the block.
message_indexbigintThe index of the message in the transaction.
event_indexbigintThe index of the event in the message.
event_typevarcharThe type of event that was triggered.
event_sourcevarcharThe source of the event.
attribute_keyvarcharThe key of the event attribute.
attribute_valuevarcharThe value of the event attribute.
attribute_indexbigintA unique index for attributes within the event.
updated_attimestamp(3) with time zoneTimestamp of when the record was last updated.
ingested_attimestamp(3) with time zoneTimestamp of when the record was ingested into Dune.

Table Sample