Skip to content
Dune Analytics

@hagaetc / Example: Dai daily transfer volume

Example: Dai daily transfer volume

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

1SELECT date_trunc('day', evt_block_time) as day,
2SUM(value/1e18)
3FROM erc20."ERC20_evt_Transfer"
4WHERE evt_block_time > now() - interval '7 days'
5AND contract_address = '\x6b175474e89094c44da98b954eedeac495271d0f' -- Dai contract address
6GROUP BY 1;

SQL query results

Loading