Skip to content
Dune Analytics

@kroeger0x / Fork of (#4539) # of Gas Tokens Minted, by day, past 90 days

Fork of (#4539) # of Gas Tokens Minted, by day, past 90 days

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

1WITH
2    gst2_minting AS (
3        SELECT
4            DATE_TRUNC('day',call_block_time) AS time
5            , COUNT(*) AS num_minted
6        FROM gastoken."GasToken2_call_mint"
7        WHERE
8            call_success
9            AND call_block_time > (DATE_TRUNC('day',CURRENT_TIMESTAMP) - '90 days'::INTERVAL)
10        GROUP BY 1
11        ORDER BY 1
12    )
13    , chi_minting AS (
14        SELECT
15            DATE_TRUNC('day',call_block_time) AS time
16            , COUNT(*) AS num_minted
17        FROM chi."ChiToken_call_mint"
18        WHERE
19            call_success
20            AND call_block_time > (DATE_TRUNC('day',CURRENT_TIMESTAMP) - '90 days'::INTERVAL)
21        GROUP BY 1
22        ORDER BY 1
23    )
24    SELECT
25        c.dt...

SQL query results

Loading