thorchain.defi Table: fact_swaps_events Type: Base Table
Fact table that shows the swap event entries table shows the entries for the swaps
Columns
| Column Name | Data Type | Description | 
|---|---|---|
| FACT_SWAP_EVENTS_ID | TEXT | The surrogate key for the table. Will be unique and is used as a foreign key in other tables | 
| BLOCK_TIMESTAMP | TIMESTAMP_NTZ | Timestamp of block minting(without a timezone) | 
| DIM_BLOCK_ID | TEXT | FK to DIM_BLOCK table | 
| TX_ID | TEXT | The unique transaction id | 
| BLOCKCHAIN | TEXT | The name of the blockchain | 
| FROM_ADDRESS | TEXT | The user address that initiates the swap | 
| TO_ADDRESS | TEXT | The address we are swapping to | 
| FROM_ASSET | TEXT | The asset we are swapping from | 
| FROM_E8 | NUMBER | The amount we are swapping from | 
| TO_ASSET | TEXT | The asset we are swapping to | 
| TO_E8 | NUMBER | The asset amount we are swapping for (divide by 10^8 to get the decimal amount) | 
| MEMO | TEXT | The transaction memo | 
| POOL_NAME | TEXT | The name of the pool | 
| TO_E8_MIN | NUMBER | The minimum amount the swapper will receive | 
| SWAP_SLIP_BP | NUMBER | The slippage | 
| LIQ_FEE_E8 | NUMBER | The fee (divide by 10^8 to get the decimal amount) | 
| LIQ_FEE_IN_RUNE_E8 | NUMBER | The fee in RUNE (divide by 10^8 to get the decimal amount) | 
| _DIRECTION | NUMBER | |
| EVENT_ID | NUMBER | |
| _TX_TYPE | TEXT | |
| _INSERTED_TIMESTAMP | TIMESTAMP_NTZ | |
| _AUDIT_RUN_ID | TEXT | |
| INSERTED_TIMESTAMP | TIMESTAMP_NTZ | The utc timestamp at which the row was inserted into the table. | 
| MODIFIED_TIMESTAMP | TIMESTAMP_NTZ | The utc timestamp at which the row was last modified. |