Skip to content
Dune Analytics

@c3rnst / GP trading volume per day

GP trading volume per day

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

1-- based on conversion rate
2-- volume divided by two. 
3
4SELECT
5    date_trunc('day', trade_date) as day,
6    SUM(sell_amount * view_price_batch.token_usd_price) / 2 AS volume_usd
7FROM gnosis_protocol.view_trades
8JOIN gnosis_protocol.view_price_batch
9    ON view_price_batch.batch_id = view_trades.batch_id
10    AND view_price_batch.token_id = view_trades.sell_token_id
11    AND view_price_batch.evt_index = view_trades.evt_index_solution
12WHERE revert_time IS NULL
13GROUP BY 1;