Skip to content
Dune Analytics

@0xBoxer / PickleSupply Chart

PickleSupply Chart

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

1      with minted as (
2SELECT date_trunc('DAY', evt_block_time) AS DAY,       
3SUM(value/1e18) AS Pickle
4FROM erc20."ERC20_evt_Transfer"
5WHERE contract_address = '\x429881672b9ae42b8eba0e26cd9c73711b891ca5'
6AND "from" = '\x0000000000000000000000000000000000000000'
7GROUP BY DAY
8),
9burned as (
10SELECT 
11date_trunc('DAY', evt_block_time) AS DAY,
12SUM(value/1e18) * (-1) AS Pickle
13FROM erc20."ERC20_evt_Transfer"
14WHERE contract_address = '\x429881672b9ae42b8eba0e26cd9c73711b891ca5'
15 AND "to" = '\x000000000000000000000000000000000000dead'
16GROUP BY DAY
17),
18c as (
19    select DAY,Pickle, 'minted' as operation
20    from minted
21    union all
22    select DAY,Pickle, 'burned' as operation    
23    from burned
24)
25Select 
...

SQL query results

Loading