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

# linea

> Tables in tt-contracts.linea

## Tables

### ERC20\_Transfer\_event

ERC-20 token transfer events decoded from transaction logs, containing sender address, recipient address, and token amount. Primary source for tracking fungible token flows and wallet holdings across EVM-compatible blockchains.

<Accordion title="Columns">
  | Column             | Type        | Description                                                                                                                                          |
  | ------------------ | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`  | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                          |
  | `block_number`     | `INT64`     | Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block's position in the blockchain. |
  | `transaction_hash` | `STRING`    | Unique identifier for the transaction. 66-character hex string including 0x prefix.                                                                  |
  | `log_index`        | `INT64`     | Position of the event within the block's transaction logs. Zero-indexed integer representing the sequential order of log emission.                   |
  | `address`          | `STRING`    | Contract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.                                                              |
  | `removed`          | `BOOL`      | Boolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.                                         |
  | `in_from`          | `STRING`    | Address originating the transfer or operation. Hex-encoded, 0x-prefixed, 42-character string.                                                        |
  | `in_to`            | `STRING`    | Destination address receiving tokens or assets in the operation. Hex-encoded, 0x-prefixed, 42-character string.                                      |
  | `in_value`         | `STRING`    | Amount of tokens transferred, minted, or burned in the operation. Numeric string representation preserving precision for large integer values.       |
</Accordion>

<Accordion title="Sample Data">
  | in\_to | address                                    | in\_from | removed | in\_value | log\_index | block\_number | block\_timestamp         | transaction\_hash                                                  |
  | ------ | ------------------------------------------ | -------- | ------- | --------- | ---------- | ------------- | ------------------------ | ------------------------------------------------------------------ |
  |        | 0x00000000001594c61dd8a6804da9ab58ed2483ce |          | false   |           | 83         | 9873500       | 2024-09-24T08:24:11.000Z | 0x1aa6d76b69a9d64c0b3d52362a4cc8793cb417246b6027520684b8cc442519f2 |
  |        | 0x00000000001594c61dd8a6804da9ab58ed2483ce |          | false   |           | 17         | 9873644       | 2024-09-24T08:28:59.000Z | 0xd892cc5daae0f17175d0d4df1f48005b53735767b7b7c9b0022d8393f36fd1e7 |
  |        | 0x00000000001594c61dd8a6804da9ab58ed2483ce |          | false   |           | 21         | 9875927       | 2024-09-24T09:45:05.000Z | 0x5432bebe6e537001f6900745b3fadfedd3b9574302e241fbcec95dff8cf90242 |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.linea.ERC20_Transfer_event`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***
