Skip to content
Dune Analytics

@johaya / Total SUSD users

Total SUSD users


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


SQL query

1SELECT date, sum(users) OVER (
2                              ORDER BY date ASC ROWS BETWEEN unbounded preceding AND CURRENT ROW) AS total_users
4  (SELECT date, count(USER) AS users
5   FROM
6     (SELECT min(date) AS date,
7             account AS USER
8      FROM
9        (SELECT date_trunc('week', block_time) AS date,
10                "from" AS account
11         FROM ethereum."transactions"
12         WHERE "to" = '\x57ab1ec28d129707052df4df418d58a2d46d5f51'
13           AND success = 'true'
14        UNION SELECT date_trunc('week', block_time) AS date,
15                "from" AS account
16         FROM ethereum."transactions"
17         WHERE "to" = '\x57ab1e02fee23774580c119740129eac7081e9d3'
18           AND success = 'true'
19         ) AS table1
20      GROUP BY account) AS table2
21   GROUP BY date
22   ORDER BY date)a