> ## 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.

# ERC1155 Token Transfers 🌱

### Table Details

| Property            | Value                                            |
| ------------------- | ------------------------------------------------ |
| Table Name          | `megaeth.raw.erc1155_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                                                                                  |
| ------------------ | ----------------- | -------------------------------------------------------------------------------------------- |
| event\_type        | VARCHAR(16777216) | Type of transfer event for ERC1155 tokens. Either `single_transfer` or `batch_transfer`.     |
| operator           | VARCHAR(16777216) | Address of the ERC1155 operator.                                                             |
| array\_index       | NUMBER(38,0)      | Index position within a batch transfer array. For single transfers, this value is 0.         |
| 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.                                                      |
| token\_id          | VARCHAR(16777216) | The token ID of the token.                                                                   |
| 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.                                                       |
| transaction\_hash  | VARCHAR(66)       | The 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.                                |
