Skip to content
Dune Analytics

@MatteoLeibowitz / Stablecoin Tx Volume/Week

Stablecoin Transaction Volume Per Week (Excluding USDT)Stablecoin Tx Volume/Week

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 tokens AS 
2(
3SELECT
4contract_address,
5symbol,
6decimals
7FROM erc20."tokens"
8UNION ALL
9SELECT '\x4fabb145d64652a948d72533023f6e7a623c7c53' as contract_address, 'BUSD' as symbol, 18 as decimals
10UNION ALL
11SELECT '\xdf574c24545e5ffecb9a659c229253d4111d87e1' as contract_address, 'HUSD' as symbol, 8 as decimals
12)
13
14SELECT 
15date_trunc('week', evt_block_time) as week,
16t.symbol AS token,
17sum(value/10^decimals) as transaction_volume
18FROM 
19erc20."ERC20_evt_Transfer" tr
20LEFT JOIN tokens t ON tr.contract_address = t.contract_address
21WHERE tr.contract_address IN ('\xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48', 
22                            '\x6b175474e89094c44da98b954eedeac495271d0f',
23                            '\x89d24a6b4ccb1b6faa2625fe562bdd9a23260359',
24                            '\xdac17f958d2ee523a2206206994597c13d831ec7',
25                            '\x8e870d67f660d95d5be530380d0ec0bd388289e1',...

Result visualizations

Stablecoin Transaction Volume Per WeekStablecoin Tx Volume/Week

Loading