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

# wbnb_v1_opbnb

> Tables in tt-contracts.wbnb_v1_opbnb

## Tables

### WBNB\_Deposit\_event

Wrapped BNB (WBNB) deposit events on opBNB showing native BNB wrapping transactions with recipient addresses and wei-denominated amounts. Records each wrap operation where users convert BNB to the ERC-20 compatible WBNB token at the canonical wrapper contract address.

<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_dst`           | `STRING`    | Address of the account receiving tokens or assets in the transfer or operation. Hex-encoded, 0x-prefixed, 42-character string.                       |
  | `in_wad`           | `STRING`    | Token amount denominated in WAD units. String-encoded integer representing value with 18 decimal places of precision.                                |
</Accordion>

<Accordion title="Sample Data">
  | in\_dst                                    | in\_wad              | address                                    | removed | log\_index | block\_number | block\_timestamp         | transaction\_hash                                                  |
  | ------------------------------------------ | -------------------- | ------------------------------------------ | ------- | ---------- | ------------- | ------------------------ | ------------------------------------------------------------------ |
  | 0x0b662d54824825725be1e76c0a2b1c8f49b7419b | 8747500000000000     | 0x4200000000000000000000000000000000000006 | false   | 0          | 38518376      | 2024-10-30T07:08:19.000Z | 0x616ce1d9f31c3a99db80dc70daeb22681ab1e0b126c9da5d78f6c61a0e38b823 |
  | 0x0f0067cd819cb8f20bda62046daff7a2b5c88280 | 11999980002298486784 | 0x4200000000000000000000000000000000000006 | false   | 16         | 38568088      | 2024-10-30T20:56:51.000Z | 0x3c6af61353f779f39058bbdea13898c1089c465da16c0e9777d724a775f28048 |
  | 0x0f0067cd819cb8f20bda62046daff7a2b5c88280 | 7801259859571470336  | 0x4200000000000000000000000000000000000006 | false   | 24         | 38560467      | 2024-10-30T18:49:50.000Z | 0xe550ba3d883a8d0fc4c7bdf56ee5925f0164e6e505fc35c237d9ac875f069369 |
</Accordion>

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

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

***

### WBNB\_Withdrawal\_event

Withdrawal events from the Wrapped BNB (WBNB) contract on opBNB L2, tracking unwrapping of WBNB tokens back to native BNB with source addresses and amounts in wei. Used for analyzing WBNB liquidity flows and unwrapping activity on the opBNB chain.

<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_src`           | `STRING`    | Address of the account from which tokens or assets are being withdrawn or transferred. Hex-encoded, 0x-prefixed, 42-character string.                |
  | `in_wad`           | `STRING`    | Token amount denominated in WAD units. String-encoded integer representing value with 18 decimal places of precision.                                |
</Accordion>

<Accordion title="Sample Data">
  | in\_src                                    | in\_wad           | address                                    | removed | log\_index | block\_number | block\_timestamp         | transaction\_hash                                                  |
  | ------------------------------------------ | ----------------- | ------------------------------------------ | ------- | ---------- | ------------- | ------------------------ | ------------------------------------------------------------------ |
  | 0x071c5a570cb99f836fb1ff4abd24315bd8bad7f5 | 50000000000000000 | 0x4200000000000000000000000000000000000006 | false   | 0          | 1766644       | 2023-08-31T22:19:27.000Z | 0x6099ffac63fd75fddf8db42cc00ce02d4def1dc4c78627dec02a9587dfad7ead |
  | 0xf2b0bece79a1d1eeab16563d8cc4f612542b6e45 | 50000000000000000 | 0x4200000000000000000000000000000000000006 | false   | 0          | 1713169       | 2023-08-31T07:28:12.000Z | 0x73f0236a553c12c1b6823c427a080e4dde17743f00c2de1b860dbff91d37c342 |
  | 0x4269ae769504f6b31cbb81ef5ea3ca2a5c7b4515 | 25000000000000000 | 0x4200000000000000000000000000000000000006 | false   | 0          | 1688734       | 2023-08-31T00:40:57.000Z | 0x597d2a9f5b7fce038f87a74448f157720246e18f83fd40678c126f9c26b630d3 |
</Accordion>

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

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

***
