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

# viction

> Tables in tt-contracts.viction

## 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                                                  |
  | ------ | ------------------------------------------ | -------- | ------- | --------- | ---------- | ------------- | ------------------------ | ------------------------------------------------------------------ |
  |        | 0xd4a3639794e85160ef2e953e28eee73a84fd9279 |          | false   |           | 1          | 87972903      | 2024-12-12T21:13:38.000Z | 0x1d8d77674a7b020398f4b302b721c40442fa709d06933a143d262ed70a8025da |
  |        | 0x39c40119052269ba22763b6581a7f3455d8e0f16 |          | false   |           | 1          | 87959299      | 2024-12-12T13:01:12.000Z | 0x65a8a9f38e570651ea3a9efe8467aeb7466582f08b4ee17f1d0fd2d7b48cb883 |
  |        | 0xd4a3639794e85160ef2e953e28eee73a84fd9279 |          | false   |           | 1          | 87960681      | 2024-12-12T13:52:23.000Z | 0x05eb8574a670ca011da3d2da72c708916667ee75a233370f1f3596e068f9de99 |
</Accordion>

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

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

***
