> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dune.com/llms.txt
> Use this file to discover all available pages before exploring further.

# thorchain.defi_swap_events

> THORChain swap events — cross-chain and intra-chain asset swaps with pricing.

export const TableSample = ({tableName, tableSchema}) => <>
    <div className="hidden dark:block">
      <iframe src={`https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=${tableSchema}&table_name_t6f0df=${tableName}&darkMode=true`} style={{
  width: '100%',
  height: '500px',
  border: 'none',
  marginTop: '10px'
}} />
    </div>
    <div className="dark:hidden">
      <iframe src={`https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=${tableSchema}&table_name_t6f0df=${tableName}`} style={{
  width: '100%',
  height: '500px',
  border: 'none',
  marginTop: '10px'
}} />
    </div>
  </>;

## Table Description

The `thorchain.defi_swap_events` table provides event-level data for swaps executed on THORChain. This table captures detailed swap events including amounts, fees, slippage, and streaming swap information.

## Column Descriptions

| **Column** | **Type** | **Description** |
| - | - | - |
| **tx\_id** | bigint | Transaction ID |
| **blockchain** | varchar | Source blockchain identifier |
| **from\_address** | varchar | Source address |
| **to\_address** | varchar | Destination address |
| **from\_asset** | varchar | Source asset identifier |
| **from\_e8** | bigint | From E8 |
| **to\_asset** | varchar | Destination asset identifier |
| **to\_e8** | bigint | To E8 |
| **memo** | varchar | Transaction memo |
| **pool\_name** | varchar | Name of the liquidity pool |
| **to\_e8\_min** | bigint | To E8 Min |
| **swap\_slip\_bp** | varchar | Swap slippage in basis points |
| **liq\_fee\_e8** | bigint | Liq Fee E8 |
| **liq\_fee\_in\_rune\_e8** | bigint | Liq Fee In Rune E8 |
| **\_DIRECTION** | varchar | Direction |
| **event\_id** | bigint | Event identifier |
| **block\_timestamp** | timestamp | Timestamp of when the block was created |
| **streaming\_count** | varchar | Streaming Count |
| **streaming\_quantity** | varchar | Streaming Quantity |
| **\_TX\_TYPE** | varchar | Tx Type |
| **\_INSERTED\_TIMESTAMP** | timestamp | Timestamp of the record |
| **fact\_swap\_events\_id** | bigint | Surrogate key for the swap event record |
| **dim\_block\_id** | bigint | Reference to the block dimension table |
| **inserted\_timestamp** | timestamp | Time when the record was inserted |
| **modified\_timestamp** | timestamp | Time when the record was last modified |

## Table Sample

<TableSample tableSchema="thorchain" tableName="defi_swap_events" />


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.