Skip to content
Dune Analytics

@rchen8 / 30 days fees

Counter30 days fees

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 artists AS
2  (SELECT _creator AS artist
3   FROM superrare."SuperRare_evt_WhitelistCreator"
4   UNION SELECT "_newAddress" AS artist
5   FROM superrare."SuperRare_v2_evt_AddToWhitelist")
6SELECT sum(amount) AS fees
7FROM
8  (SELECT evt_block_time,
9          _amount / 1e18 * p.price AS amount
10   FROM
11     (SELECT evt_block_time,
12             _amount * 0.18 AS _amount
13      FROM superrare."SuperRareMarketAuction_evt_Sold"
14      WHERE _seller IN
15          (SELECT *
16           FROM artists)
17      UNION SELECT evt_block_time,
18                   _amount * 0.18 AS _amount
19      FROM superrare."SuperRare_evt_Sold"
20      WHERE _seller IN
21          (SELECT *
22           FROM artists)
23      UNION SELECT evt_block_time,
24                   _amount * 0.18 AS _amount
25      FROM superrare."SuperRareMarketAuction_evt_AcceptBid"...

SQL query results

Loading