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

# CES Events

### Table Details

| Property            | Value                                                                |
| ------------------- | -------------------------------------------------------------------- |
| Table Name          | `casper.raw.ces_events`                                              |
| Table Status        | Production-Ready                                                     |
| Unique Key          | `block_timestamp`, `block_height`, `transaction_hash`, `event_index` |
| Clustering Key(s)   | `to_date("block_timestamp")`                                         |
| Search Optimization | `transaction_hash`, `event_name`, `contract_package_hash`            |

### Table Columns

| Column Name             | Data Type         | Description                                                                          |
| ----------------------- | ----------------- | ------------------------------------------------------------------------------------ |
| event\_name             | VARCHAR(16777216) | Name of the CES event as registered by the emitting contract.                        |
| event\_index            | NUMBER(38,0)      | Index of the event within the transaction.                                           |
| contract\_package\_hash | VARCHAR(16777216) | Stable contract package hash that emitted the event.                                 |
| dictionary\_key         | VARCHAR(16777216) | Dictionary key (blake2b256 of events URef bytes plus counter) addressing this event. |
| raw\_event\_bytes       | VARCHAR(16777216) | Raw serialized event bytes written to the dictionary.                                |
| decoded                 | VARIANT           | Decoded event payload as structured JSON.                                            |
| era\_id                 | NUMBER(38,0)      | Era (epoch) the block belongs to.                                                    |
| block\_timestamp        | TIMESTAMP\_NTZ(9) | Timestamp of the block this event was included in.                                   |
| block\_height           | NUMBER(38,0)      | Height of the block this event was included in.                                      |
| block\_hash             | VARCHAR(100)      | Hash of the block this event was included in.                                        |
| transaction\_hash       | VARCHAR(100)      | Hash of the transaction this event belongs to.                                       |
| transform\_index        | NUMBER(38,0)      | Index of the transform within the transaction's execution result.                    |
| \_created\_at           | TIMESTAMP\_NTZ(9) | Timestamp of when the entry was created in the database.                             |
| \_updated\_at           | TIMESTAMP\_NTZ(9) | Timestamp of when the entry was last updated in the database.                        |
