walemathsSlippage Impact on Fees
Updated 2024-06-09
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
›
⌄
SELECT
DATE(block_timestamp) AS transaction_date,
from_address,
to_pool_address,
swap_slip_bp,
SUM(liq_fee_rune_usd) AS total_liquidity_fee_usd,
COUNT(*) AS total_high_slippage_transactions
FROM
thorchain.defi.fact_swaps
WHERE
swap_slip_bp > 1000 -- Example threshold for high slippage
GROUP BY
transaction_date,
from_address,
to_pool_address,
swap_slip_bp
ORDER BY
swap_slip_bp DESC
LIMIT 100;
QueryRunArchived: QueryRun has been archived