Query editor
with raw as (selectcoalesce(c.name, cast("to" as varchar)) as router,1.0000*count(case when success = false then hash else null end)/count(*) as revert_rate,avg(gas_price/1e9) as avg_gas_price_gwei-- date_trunc('hour', block_time) as hour, "from" as eoa,-- count(*) as hourly_tx_ct,-- rank() overfrom base.transactions tleft join base.contracts c on c.address = t."to"where block_date > now() - interval '3' daygroup by 1) select round(revert_rate*10,0)*10 as revert_rate_int_bucket, count(router) as router_ctfrom rawgroup by 1