Table Details
| Property | Value |
|---|---|
| Table Name | megaeth.raw.erc20_token_transfers |
| Table Status | Beta 🌱 |
| Unique Key | block_timestamp, block_number, unique_id |
| Clustering Key(s) | to_date("block_timestamp") |
| Search Optimization | from_address, to_address, transaction_hash |
Table Columns
| Column Name | Data Type | Description |
|---|---|---|
| from_address | VARCHAR(42) | Address where the token is being transferred from. |
| to_address | VARCHAR(42) | Address where the token is being transferred to. |
| token_address | VARCHAR(42) | Token address of the asset transferred. |
| raw_amount_str | VARCHAR(16777216) | Amount of tokens transferred (unnormalized) in string to retain precision. |
| raw_amount | FLOAT | Amount of tokens transferred (unnormalized). |
| unique_id | VARCHAR(16777216) | Unique ID generated for each transfer. Includes transaction hash and log index. |
| transaction_hash | VARCHAR(66) | Transaction hash that this transfer belongs to. |
| transaction_index | NUMBER(38,0) | The position of this transaction in the block. The first transaction of a block has index 0. |
| log_index | NUMBER(38,0) | The position of this log within the block. The first log of a block has index 0. |
| block_timestamp | TIMESTAMP_NTZ(9) | The time when the block that contains this transaction was included on the blockchain. |
| block_number | NUMBER(38,0) | The block number that the corresponding transaction of this transfer belongs to. |
| block_hash | VARCHAR(66) | The block hash that the corresponding transaction of this transfer belongs to. |
| _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. |