Skip to content
Dune Analytics

@slash125 / Nb of daily deposit-transactions into pools

Nb of daily deposit-transactions into pools

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 (CASE
2            WHEN eth.DAY IS NULL THEN wbtc.DAY
3            ELSE eth.DAY
4        END) AS day_new,
5       ETHPool_nb_of_daily_deposits,
6       wBTCPool_nb_of_daily_deposits
7FROM
8  (SELECT date(call_block_time) AS DAY,
9          count(output_mint) AS ETHPool_nb_of_daily_deposits
10   FROM hegic."HegicETHPool_call_provide"
11   GROUP BY DAY) eth
12FULL OUTER JOIN
13  (SELECT date(call_block_time) AS DAY,
14          count(output_mint) AS wBTCPool_nb_of_daily_deposits
15   FROM hegic."HegicERCPool_call_provide"
16   GROUP BY DAY) wbtc ON eth.day = wbtc.day
17ORDER BY day_new

SQL query results

Loading
 

Result visualizations

Nb of daily deposit-transactions into pools

Loading