> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dune.com/llms.txt
> Use this file to discover all available pages before exploring further.

# sei.cosmos_tx_messages

> Transaction messages — individual message types and payloads on Sei.

export const TableSample = ({tableName, tableSchema}) => <>
    <div className="hidden dark:block">
      <iframe src={`https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=${tableSchema}&table_name_t6f0df=${tableName}&darkMode=true`} style={{
  width: '100%',
  height: '500px',
  border: 'none',
  marginTop: '10px'
}} />
    </div>
    <div className="dark:hidden">
      <iframe src={`https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=${tableSchema}&table_name_t6f0df=${tableName}`} style={{
  width: '100%',
  height: '500px',
  border: 'none',
  marginTop: '10px'
}} />
    </div>
  </>;

## Table description

The `sei.cosmos_tx_messages` table contains all messages submitted to the blockchain. Each row represents one message, so there may be repeated `tx_id` if the transaction contains multiple messages.

<Tip>
  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.
</Tip>

## Column Description

| Column name          | Data Type                   | Description                                          |
| -------------------- | --------------------------- | ---------------------------------------------------- |
| **block\_date**      | date                        | The date of the block.                               |
| **block\_height**    | bigint                      | The height of the block where the message occurred.  |
| **block\_timestamp** | timestamp(3) with time zone | Timestamp when the block was validated.              |
| **chain\_id**        | varchar                     | The ID of the chain where the message belongs.       |
| **tx\_id**           | varchar                     | The hash of the transaction containing the message.  |
| **tx\_index**        | bigint                      | The index of the transaction in the block.           |
| **message\_index**   | bigint                      | The index of the message in the transaction.         |
| **message\_type**    | varchar                     | The type of message.                                 |
| **message**          | varchar                     | The value/content of the message.                    |
| **schema\_version**  | bigint                      | The version of the schema in provider database.      |
| **updated\_at**      | timestamp(3) with time zone | Timestamp of when the record was last updated.       |
| **ingested\_at**     | timestamp(3) with time zone | Timestamp of when the record was ingested into Dune. |

## Table Sample

<TableSample tableSchema="sei" tableName="cosmos_tx_messages" />
