Query editor
/* filtered tx data will be less than actual, due to complex tx where tx_to is not the exact DLN dst contract are not being counted */WITHcontract_dln as (SELECT0xE7351Fd770A37282b91D153Ee690B63579D6dd7f as eth,0xE7351Fd770A37282b91D153Ee690B63579D6dd7f as poly,0xE7351Fd770A37282b91D153Ee690B63579D6dd7f as arb,0xE7351Fd770A37282b91D153Ee690B63579D6dd7f as op,0xE7351Fd770A37282b91D153Ee690B63579D6dd7f as zksync,0xE7351Fd770A37282b91D153Ee690B63579D6dd7f as linea,0xE7351Fd770A37282b91D153Ee690B63579D6dd7f as base,0xE7351Fd770A37282b91D153Ee690B63579D6dd7f as bsc,0xE7351Fd770A37282b91D153Ee690B63579D6dd7f as avax,0x663dc15d3c1ac63ff12e45ab68fea3f0a883c251 as dforwarder),poly as (SELECT'Polygon' as chain,block_time,block_date,tx_hash,COUNT(tx_hash) OVER (PARTITION BY tx_hash) as dup_tx_count,tx_from,tx_to,amount,symbol,amount_usd,"from",toFROMtokens_polygon.transfers as t, contract_dln as cWHEREblock_time >= (current_date - interval '7' day)AND (tx_to = c.polyOR ("from" = c.dforwarder AND to = c.poly))),eth as (SELECT'Ethereum' as chain,block_time,block_date,tx_hash,COUNT(tx_hash) OVER (PARTITION BY tx_hash) as dup_tx_count,tx_from,tx_to,amount,symbol,amount_usd,"from",toFROMtokens_ethereum.transfers as t, contract_dln as cWHEREblock_time >= (current_date - interval '7' day)AND (tx_to = c.ethOR ("from" = c.dforwarder AND to = c.eth))