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

# lifi_v2_fantom

> Tables in tt-contracts.lifi_v2_fantom

## Tables

### LiFiDiamond\_LiFiTransferStarted\_event

LiFi cross-chain transfer initiation events emitted when users start bridge transactions through the LiFi Diamond protocol. Contains bridge routing parameters including source and destination assets, amounts, receiver addresses, chain identifiers, and integration metadata for tracking cross-chain asset transfers.

<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_bridgeData`    | `STRUCT<transactionId STRING, bridge STRING, integrator STRING, referrer STRING, sendingAssetId STRING, receiver STRING, minAmount STRING, destinationChainId STRING, hasSourceSwaps BOOL, hasDestinationCall BOOL>` | Bridge transaction metadata containing identifiers and routing information for cross-chain transfers. Includes transaction ID, bridge protocol name, integrator, referrer address, sending asset ID, receiver address, minimum transfer amount, destination chain ID, and flags indicating whether source swaps or destination calls are included. |
</Accordion>

<Accordion title="Sample Data">
  | address                                    | removed | log\_index | block\_number | in\_bridgeData                                                                                                                                                                                                                                                                                                                                                                                                             | block\_timestamp         | transaction\_hash                                                  |
  | ------------------------------------------ | ------- | ---------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | ------------------------------------------------------------------ |
  | 0x1231deb6f5749ef6ce6943a275a1d3e7486f4eae | false   | 32         | 51326654      | \{"bridge":"stargate","receiver":"0x9a071d62be20ec803b969b76d48d88329d8c2cfd","referrer":"0x0000000000000000000000000000000000000000","minAmount":"464035500","integrator":"transferto.xyz","transactionId":"0x603ed10a22b84086f26239ac8b686dd6081831cbe0b5b3f200486120ffcb0513","hasSourceSwaps":true,"sendingAssetId":"0x04068da6c83afcfa0e13ba15a6696662335d5b75","destinationChainId":"137","hasDestinationCall":true} | 2022-11-23T04:56:49.000Z | 0x604ea0698fdb3c17b7b195b91051b531de9b12cce1eecbc7042e6e02d00af10d |
  | 0x1231deb6f5749ef6ce6943a275a1d3e7486f4eae | false   | 54         | 51321751      | \{"bridge":"stargate","receiver":"0x126ff8fabec84ef8a96f25dd0c2668fb9b7e7088","referrer":"0x0000000000000000000000000000000000000000","minAmount":"1498605854","integrator":"transferto.xyz","transactionId":"0xd89c900fce65057434ffaa8c2370034f1c4bf3dc00e3953b8a1c91aeb07e2ab7","hasSourceSwaps":true,"sendingAssetId":"0x04068da6c83afcfa0e13ba15a6696662335d5b75","destinationChainId":"56","hasDestinationCall":true} | 2022-11-23T01:28:51.000Z | 0x193b07fd9d9b0646863162ea8ff3d098f5973a0aacf0364ea1fe6b0bc9068c03 |
  | 0x1231deb6f5749ef6ce6943a275a1d3e7486f4eae | false   | 75         | 51336532      | \{"bridge":"multichain","receiver":"0x815063925239f128937cdadce40ae42207239d32","referrer":"0x0000000000000000000000000000000000000000","minAmount":"552643916","integrator":"Iron Bank","transactionId":"0x7b39657a14aa1bb77dbf20677c3a480dc35b2adfb2bdb6bdfe1b9f93520ff2b9","hasSourceSwaps":true,"sendingAssetId":"0x2823d10da533d9ee873fed7b16f4a962b2b7f181","destinationChainId":"56","hasDestinationCall":true}     | 2022-11-23T10:27:20.000Z | 0x2978fd84826ece2d9691d7d73146dce1d09daa8630bf61146d05db45150e6816 |
</Accordion>

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

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

***
