Skip to content
Dune Analytics

@Bung / ERC20 IN Community Chest - Custom

Balance Token Over The timeERC20 IN Community Chest - Custom

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    contract_address AS token_address,
5    -tr.value AS amount
6  FROM erc20."ERC20_evt_Transfer" tr
7  WHERE tr."from" = '\x24F0bB6c9b2C3DB66603Fa0Ec07Ab0CF55cDd387'
8UNION
9  SELECT
10    evt_tx_hash AS tx_hash,
11    contract_address AS token_address,
12    tr.value AS amount
13  FROM erc20."ERC20_evt_Transfer" tr 
14  WHERE tr."to" = '\x24F0bB6c9b2C3DB66603Fa0Ec07Ab0CF55cDd387'
15),
16
17erc20_tokens AS (
18    select *
19    from erc20.tokens
20),
21
22bucket AS (
23    SELECT
24      symbol, 
25      sum(amount/10^decimals) as balance,...