Skip to content
Dune Analytics

@ashachaf / Bancor fees paid last 7 days

Bancor fees paid last 7 days

Loading
 

About queries and results

Dune Analytics lets you explore, create, and share Ethereum analytics. You can find an endless amount of great queries and dashboards on Dune.

We have decoded Ethereum smart contract data so you can do powerful analysis with simple SQL queries and visualise the query results into beautiful graphs.

Dune Analytics is free for everyone forever. If you want extra features like private queries, export your results and more check out our Pro plan.

SQL query results

Loading
 

SQL query

1SELECT date_trunc('day', evt_block_time),
2SUM(("conversionFee")/1e18 * p.price) as fee_paid_usd
3FROM bancor."BancorConverterWithFee_evt_Conversion" b
4LEFT JOIN prices.usd p ON p.minute = date_trunc('minute', evt_block_time) AND p.contract_address = b."toToken"
5WHERE evt_block_time > now() - interval '7 days'
6GROUP BY 1
7ORDER BY 1;