Query editor
-- Restoration 2026-08-14 (PT3-2715 census follow-up): the-- dune."1inch".result_dict_metamask materialized view this query joined no-- longer exists (the dict refresh retired with the archived dashboard), so-- every run failed with "Table ... does not exist". Rebuilt on Dune's-- decoded MetaSwap router tables (metamask_multichain.metaswap_call_swap),-- which carry aggregatorId directly -- same executor attribution without-- the dict dependency, plus the newer chains (base/linea/monad/megaeth/-- sei/zksync). Output columns are unchanged so the attached-- visualizations keep working.withstatic as (selecttimestamp '{{for the period from for all evms}}' as ts_from, '{{timebox for all evms}}' as timeframe), calls as (selectchain as blockchain, call_block_time as block_time, date_trunc('minute', call_block_time) as minute, call_tx_hash as tx_hash, call_tx_from as tx_from, casewhen aggregatorId like 'oneInch%' then '1inch'when aggregatorId like '0x%' or lower(aggregatorId) like 'zerox%' then 'ZeroEx'when lower(aggregatorId) like 'uniswap%' then 'Uniswap'when lower(aggregatorId) like 'kyber%' then 'Kyber'when lower(aggregatorId) like 'openocean%' then 'OpenOcean'when lower(aggregatorId) like 'pancake%' then 'PancakeSwap'when lower(aggregatorId) like 'okx%' then 'OKX'when lower(aggregatorId) like 'mayan%' then 'Mayan'when lower(aggregatorId) like 'airswap%' then 'AirSwap'when lower(aggregatorId) like 'relay%' then 'Relay'when lower(aggregatorId) like 'hashflow%' then 'HashFlow'when lower(aggregatorId) like 'pmm%' then 'PMM'when lower(aggregatorId) like 'paraswap%' or lower(aggregatorId) like 'velora%' then 'Paraswap'else coalesce(aggregatorId, 'UNDEFINED')end as executor, amount, tokenFrom as token_fromfrom metamask_multichain.metaswap_call_swapwherecall_successand call_block_date >= date(timestamp '{{for the period from for all evms}}')and call_block_time > (select ts_from from static)), meta as (select blockchain, wrapped_native_token_addressfrom evms.info), priced as (selectc.*, cast(c.amount as double) / pow(10, p.decimals) * p.price as volumefrom calls cleft join meta m on m.blockchain = c.blockchain