Skip to content
Dune Analytics

@rlg195 / # INDEX holders

Counter# INDEX holders

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

1WITH transfers AS (
2    SELECT
3    evt_tx_hash AS tx_hash,
4    tr."from" AS address,
5    -tr.value AS amount,
6    contract_address
7     FROM erc20."ERC20_evt_Transfer" tr
8     WHERE contract_address =  '\x0954906da0bf32d5479e25f46056d22f08464cab'
9UNION ALL
10    SELECT
11    evt_tx_hash AS tx_hash,
12    tr."to" AS address,
13    tr.value AS amount,
14      contract_address
15     FROM erc20."ERC20_evt_Transfer" tr 
16     where contract_address = '\x0954906da0bf32d5479e25f46056d22f08464cab'
17),
18transferAmounts AS (
19    SELECT address,
20    
21    sum(amount)/1e18 as poolholdings FROM transfers 
22    
23    GROUP BY 1
24    ORDER BY 2 DESC
25)...