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

# weth_v1_unichain

> Tables in tt-contracts.weth_v1_unichain

## Tables

### WETH9\_Deposit\_event

WETH9 (Wrapped Ether version 9) deposit events emitted when native ETH is converted to ERC-20 wrapped tokens. Contains recipient address and deposit amount in WAD units (18 decimal precision) for tracking ETH wrapping activity.

<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                                                  |
  | ------------------------------------------ | --------------- | ------------------------------------------ | ------- | ---------- | ------------- | ------------------------ | ------------------------------------------------------------------ |
  | 0x0b929b809c5485baa13aebb491e31af1f0aa4228 | 100000000000000 | 0x4200000000000000000000000000000000000006 | false   | 3          | 604498        | 2024-11-11T19:20:57.000Z | 0x93be97cda3f9a97bdbe098129c2b920e42ff8d9a86d0bf37e7b6a4c56ecd299e |
  | 0x0b929b809c5485baa13aebb491e31af1f0aa4228 | 834782147053    | 0x4200000000000000000000000000000000000006 | false   | 0          | 604779        | 2024-11-11T19:25:38.000Z | 0xfb3d8b599defe5797c4243e66f82dc346536b9b5278432a2d59607e7de0cdab7 |
  | 0x807180bebc4cc1e5fdea8f15e60e62bf68265e9d | 997806          | 0x4200000000000000000000000000000000000006 | false   | 2          | 558796        | 2024-11-11T06:39:15.000Z | 0xc14257c22ef3894a3ccdbe7429f59f3cab963a3943cbd88dbd925d122e255262 |
</Accordion>

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

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

***

### WETH9\_Withdrawal\_event

WETH9 withdrawal events emitted when unwrapping wrapped Ether (WETH) back to native ETH. Contains withdrawing address and amount in WAD units (18 decimal precision).

<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                                                  |
  | ------------------------------------------ | ------------------ | ------------------------------------------ | ------- | ---------- | ------------- | ------------------------ | ------------------------------------------------------------------ |
  | 0xdbd1d937b40c0f47bebbe9c7e14517614320a1f0 | 98330339921719073  | 0x4200000000000000000000000000000000000006 | false   | 3          | 7809524       | 2025-02-03T04:44:43.000Z | 0x01553b0a6f41b20f6216172532a670f433ee937c32497cfabe1fc2add7c7f7a4 |
  | 0xdbd1d937b40c0f47bebbe9c7e14517614320a1f0 | 102478374723165027 | 0x4200000000000000000000000000000000000006 | false   | 3          | 7796965       | 2025-02-03T01:15:24.000Z | 0xaf112ca67136a5a0a85171653b27419d672aefcf9cd40052bd508f5e48fc972d |
  | 0xdbd1d937b40c0f47bebbe9c7e14517614320a1f0 | 1256186075442170   | 0x4200000000000000000000000000000000000006 | false   | 3          | 7810129       | 2025-02-03T04:54:48.000Z | 0xe16872d2bf4ec1d4c2577ab4fc6128ec290493ef14132f47696279c57f17f216 |
</Accordion>

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

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

***
