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

# bob

> Tables in tt-contracts.bob

## 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                                                  |
  | ------ | ------------------------------------------ | -------- | ------- | --------- | ---------- | ------------- | ------------------------ | ------------------------------------------------------------------ |
  |        | 0x14332d4fd67ea9daf9314f93dab844f7f9741d81 |          | false   |           | 0          | 478455        | 2024-04-22T20:48:17.000Z | 0xd9d5ae2ad1bdb448b44da25590d9a53261226919bbc7d55269d32989574a0b99 |
  |        | 0x14332d4fd67ea9daf9314f93dab844f7f9741d81 |          | false   |           | 1          | 478455        | 2024-04-22T20:48:17.000Z | 0xd9d5ae2ad1bdb448b44da25590d9a53261226919bbc7d55269d32989574a0b99 |
  |        | 0x14332d4fd67ea9daf9314f93dab844f7f9741d81 |          | false   |           | 0          | 478432        | 2024-04-22T20:47:31.000Z | 0x4e10305dc5ef175d01c65ac2f4052fc1bc51f614d56060f030374f6b0be4544d |
</Accordion>

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

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

***
