Skip to content
Dune Analytics

@MatteoLeibowitz / ZRX Staked - Distinct Users

ZRX Staked - Distinct Users

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

1SELECT
2date_trunc('day', block_time) as day,
3count(distinct "_from") as stakers,
4sum(count(distinct "_from")) over (order by date_trunc('day', block_time)) as cumulative_distinct_stakers
5FROM zeroex."ZRXToken_evt_Transfer"
6LEFT JOIN ethereum."transactions" tx ON evt_tx_hash = tx.hash
7INNER JOIN prices.usd p ON p.minute = date_trunc('minute', block_time)
8WHERE "_to" = '\xBa7f8b5fB1b19c1211c5d49550fcD149177A5Eaf' and p.symbol = 'ZRX'
9GROUP BY 1
10ORDER BY 1 desc
11LIMIT 14
12

Result visualizations

ZRX Staked - Distinct Users

Loading