Skip to content
Dune Analytics

@p0s / Failed tx rate

Successful trades by DEX (in %)Failed tx rate

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

1select
2case
3    when ethereum."transactions".to = '\x7a250d5630B4cF539739dF2C5dAcb4c659F2488D' THEN 'uniswapV2'
4    when ethereum."transactions".to = '\x11111254369792b2Ca5d084aB5eEA397cA8fa48B' THEN '1inch'
5    when ethereum."transactions".to in ('\x9AAb3f75489902f3a48495025729a0AF77d4b11e', '\x818E6FECD516Ecc3849DAf6845e3EC868087B755') THEN 'kyber'
6    when ethereum."transactions".to = '\xdc6c91b569c98f9f6f74d90f9beff99fdaf4248b' THEN 'tokenlon'
7    when ethereum."transactions".to = '\x6317C5e82A06E1d8bf200d21F4510Ac2c038AC81' THEN 'balancer'
8    when ethereum."transactions".to = '\x4572f2554421Bd64Bef1c22c8a81840E8D496BeA' THEN 'airswap'
9    end as exchange,
10case
11    when ethereum."transactions".success = 'false' THEN 'fail'
12    when ethereum."transactions".success = 'true' THEN 'success'
13    end as "tx status",
14--count(success) as "tx count"
15count(hash) as "tx count"
16from ethereum."transactions"
17where ethereum."transactions".to IN (
18'\x7a250d5630B4cF539739dF2C5dAcb4c659F2488D', -- uniswap router02
19'\x11111254369792b2Ca5d084aB5eEA397cA8fa48B', -- 1inch
20'\x9AAb3f75489902f3a48495025729a0AF77d4b11e', -- kyber1
21'\x818E6FECD516Ecc3849DAf6845e3EC868087B755', -- kyber2
22'\x6317C5e82A06E1d8bf200d21F4510Ac2c038AC81', -- balancer
23'\xdc6c91b569c98f9f6f74d90f9beff99fdaf4248b', -- tokenlon
24'\x4572f2554421Bd64Bef1c22c8a81840E8D496BeA' -- airswap
25)...