Skip to content
Dune Analytics

@kroeger0x / Matcha Recent Trades

Matcha Recent Trades

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    matcha_tx AS (
3        SELECT DISTINCT
4            tx_hash
5        FROM zeroex.view_api_affiliate_data
6        WHERE
7            affiliate_address = '\x86003b044f70dac0abc80ac8957305b6370893ed'::BYTEA
8    )
9    SELECT
10        SUM(f.volume_usd) AS total_volume
11    FROM zeroex."view_fills" f
12    JOIN matcha_tx mtx ON mtx.tx_hash = f.transaction_hash
13    ORDER BY 1;
14

SQL query results

Loading