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

Raw ERC-1155 token transfer events, decoded from the `TransferSingle` and `TransferBatch` event logs emitted by ERC-1155 contracts. Batch transfers are expanded into one row per token ID using `array_index`.

### Table Columns

| Column Name        | Data Type         | Description                                                                                                                                                                                                         |
| ------------------ | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| event\_type        | VARCHAR(16777216) | Type or category of the onchain event that produced this record. The specific values depend on the model (e.g. `transfer_single` / `batch_transfer` for ERC-1155, `deposit` / `withdraw` for bridges).              |
| operator           | VARCHAR(16777216) | Address authorized by an NFT owner to transfer tokens on their behalf. Defined by the ERC-1155 `ApprovalForAll` mechanism — an approved operator can transfer any token ID on behalf of the owner.                  |
| array\_index       | NUMBER(38,0)      | Zero-based index of this record within a batch event (e.g. a batch ERC-1155 transfer containing multiple token IDs). Distinguishes individual items within the same transaction log.                                |
| from\_address      | VARCHAR(42)       | Address that initiated or sent from in this event. For token transfers, the account whose balance decreased. For transactions, the transaction sender (msg.sender).                                                 |
| to\_address        | VARCHAR(42)       | Address that received in this event. For token transfers, the account whose balance increased. For transactions, the destination address (may be a smart contract).                                                 |
| token\_address     | VARCHAR(42)       | Contract address of the token. For EVM chains, native currency (e.g. ETH, MATIC) is represented as the zero address (0x0000000000000000000000000000000000000000). For Solana, this is the mint address.             |
| token\_id          | VARCHAR(16777216) | Identifier for non-fungible tokens (ERC-721) or semi-fungible tokens (ERC-1155). Each unique token\_id within a collection represents a distinct asset.                                                             |
| raw\_amount\_str   | VARCHAR(16777216) | Token amount in the smallest unit as a string. Same concept as `amount_raw_str` — the column is named `raw_amount_str` in models that follow the `raw_` prefix convention rather than the `_raw` suffix convention. |
| raw\_amount        | FLOAT             | Token amount in the smallest indivisible unit (not decimal-adjusted). Same concept as `amount_raw` — the column is named `raw_amount` in models that follow the `raw_` prefix convention.                           |
| unique\_id         | VARCHAR(16777216) | Allium's deterministic unique identifier for this row. Generated from the fields that uniquely identify the record (e.g. transaction hash + log index). Stable across full refreshes.                               |
| transaction\_hash  | VARCHAR(66)       | Hash of the transaction that produced this record. Uniquely identifies a transaction within the blockchain.                                                                                                         |
| transaction\_index | NUMBER(38,0)      | Zero-based position of the transaction within its block. The first transaction in a block has index 0.                                                                                                              |
| log\_index         | NUMBER(38,0)      | Zero-based position of this event log within its transaction. The first log emitted by a transaction has index 0.                                                                                                   |
| block\_timestamp   | TIMESTAMP\_NTZ(9) | Timestamp (UTC) of the block that contains this record.                                                                                                                                                             |
| block\_number      | NUMBER(38,0)      | Sequential number of the block that contains this record. Starts at 0 (genesis block) and increments by 1 for each new block.                                                                                       |
| block\_hash        | VARCHAR(66)       | Cryptographic hash of the block header that contains this record. Uniquely identifies a block.                                                                                                                      |
