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.
Table Details
| Property | Value |
|---|---|
| Table Name | casper.raw.contracts |
| Table Status | Production-Ready |
| Unique Key | block_timestamp, block_height, transaction_hash, transform_index |
| Clustering Key(s) | to_date("block_timestamp") |
| Search Optimization | contract_hash, contract_package_hash |
Table Columns
| Column Name | Data Type | Description |
|---|---|---|
| key | VARCHAR(16777216) | Global state key where the contract entity is stored. |
| entity_type | VARCHAR(16777216) | Type of contract entity: Contract (versioned implementation) or ContractPackage (stable package). |
| contract_hash | VARCHAR(16777216) | Per-version hash identifying this specific contract revision. |
| contract_package_hash | VARCHAR(16777216) | Stable contract package hash that persists across upgrades. |
| contract_wasm_hash | VARCHAR(16777216) | Hash of the compiled Wasm bytecode for the contract. |
| cep18_type | VARCHAR(16777216) | CEP-18 classification if the contract is a fungible token. |
| protocol_version | VARCHAR(16777216) | Casper protocol version the contract was deployed under. |
| entry_point_names | VARIANT | List of entry point (callable function) names exposed by the contract. |
| entry_points_count | NUMBER(38,0) | Number of entry points exposed by the contract. |
| named_key_names | VARIANT | List of named key identifiers registered by the contract. |
| named_keys_count | NUMBER(38,0) | Number of named keys registered by the contract. |
| 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. |