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.
1with d as ( 2SELECT date_trunc('Hour', evt_block_time) AS Hour 3, SUM(value/1e18) AS PICKLE 4FROM erc20."ERC20_evt_Transfer" 5WHERE contract_address = '\x429881672b9ae42b8eba0e26cd9c73711b891ca5' 6AND "to" = '\xd86f33388bf0bfdf0ccb1ecb4a48a1579504dc0a' 7GROUP BY Hour 8), 9w as ( 10SELECT date_trunc('Hour', evt_block_time) AS Hour 11, SUM(value/1e18) AS PICKLE 12FROM erc20."ERC20_evt_Transfer" 13WHERE contract_address = '\x429881672b9ae42b8eba0e26cd9c73711b891ca5' 14AND "from" = '\xd86f33388bf0bfdf0ccb1ecb4a48a1579504dc0a' 15GROUP BY Hour 16), 17combined as ( 18 select *, 19 'withdrawal' as operation 20 from w 21 union all 22 select *, 23 'deposit' as operation 24 from d 25) ...