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

# kwenta_v2_optimism

> Tables in tt-contracts.kwenta_v2_optimism

## Tables

### MultipleMerkleDistributor\_Claimed\_event

Reward claim events from Kwenta v2's merkle distributor contract on Optimism, tracking token distributions to traders across numbered epochs. Used for analyzing trading incentive claims and reward distribution patterns.

<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_index`         | `STRING`    | Liquidity index at the time of the event. Numeric string representation of the scaled interest rate accumulator in ray units (1e27).                 |
  | `in_account`       | `STRING`    | Account address involved in the transaction or operation. Hex-encoded, 0x-prefixed, 42-character string.                                             |
  | `in_amount`        | `STRING`    | Input amount for the swap, transaction, or operation. Numeric string representation of token quantity in smallest denomination.                      |
  | `in_epoch`         | `STRING`    | Epoch identifier for the protocol event or operation. String-encoded numeric value representing the time period or reward cycle.                     |
</Accordion>

<Accordion title="Sample Data">
  | address                                    | removed | in\_epoch | in\_index | in\_amount         | log\_index | in\_account                                | block\_number | block\_timestamp         | transaction\_hash                                                  |
  | ------------------------------------------ | ------- | --------- | --------- | ------------------ | ---------- | ------------------------------------------ | ------------- | ------------------------ | ------------------------------------------------------------------ |
  | 0x2787cc20e5ecb4bf1bfb79eae284201027683179 | false   | 43        | 109       | 4200340354901652   | 44         | 0x752d5a59d9cd3ed8af87e0c8939d5d19db168331 | 111976875     | 2023-11-09T17:55:27.000Z | 0x34aa40a8837d0465e3fadebfac8d0f41e7d9629c6669efa6b35ad131cecef0a8 |
  | 0x2787cc20e5ecb4bf1bfb79eae284201027683179 | false   | 41        | 107       | 2315183056857108   | 39         | 0x752d5a59d9cd3ed8af87e0c8939d5d19db168331 | 111976875     | 2023-11-09T17:55:27.000Z | 0x34aa40a8837d0465e3fadebfac8d0f41e7d9629c6669efa6b35ad131cecef0a8 |
  | 0x2787cc20e5ecb4bf1bfb79eae284201027683179 | false   | 39        | 140       | 140395508953378342 | 15         | 0x67d21ebd269d61ef8cd9f0f3698869b3d818a4b5 | 112439662     | 2023-11-20T11:01:41.000Z | 0x600760fefd0fd769e874edca62fb23ea01619aa8d9397eef894176d137019f2b |
</Accordion>

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

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

***
