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

# opbnb

> Tables in tt-contracts.opbnb

## 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                                                  |
  | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------- | ---------------------- | ---------- | ------------- | ------------------------ | ------------------------------------------------------------------ |
  | 0xf22eebf6aadb144d860e7569327911e2ea9b72f5 | 0x0597b72dd532a78a11c16606cd7525d1277bbc7f | 0x19337585d1defe8de9a955b0090aeac5a498e3b6 | false   | 6500000000000000000000 | 0          | 37321152      | 2024-10-16T10:34:35.000Z | 0x1d938eee4f62fccd32a22bbfa84d44370706d056d20fa504824f2b1b0bf58c32 |
  | 0xf32e4cb5f1f2a0bd080ec97cbbe1d8568a6f450e | 0x0f60356f6ecc22fc61f01ace3ae1f68e7c8462b7 | 0x0000000000000000000000000000000000000000 | false   | 10000000000000000      | 0          | 37342490      | 2024-10-16T16:30:13.000Z | 0x32972b121983e1ee49438d4f905aed451d3ecf9c299f77033b7d37e49e5202d8 |
  | 0x2fe753f7c92e8edecf37e0fb5c27dc30b05f7b73 | 0x0f60356f6ecc22fc61f01ace3ae1f68e7c8462b7 | 0x0000000000000000000000000000000000000000 | false   | 10000000000000000      | 0          | 37347788      | 2024-10-16T17:58:31.000Z | 0xcf848e5172f68ddcc7da99f369ad4ce7dcc989d46972f75f96f66e904883582e |
</Accordion>

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

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

***
