Query editor
witheth_deposits as (selectdate_trunc('day', e.block_time) as day,sum(e.value*p.price)/10e17 as amountfrom ethereum.transactions eleft join prices.usd pon date_trunc('minute', e.block_time) = p.minutewhere e."to" = 0xDFaa75323fB721e5f29D43859390f62Cc4B600b8and p.contract_address = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2group by date_trunc('day', e.block_time)), eth_usd_deposits as (selectdate_trunc('day', evt_block_time) as day,sum(value)/10e5 as amountfrom erc20_ethereum.evt_Transferwhere "to" = 0xDFaa75323fB721e5f29D43859390f62Cc4B600b8and contract_address in (0xdAC17F958D2ee523a2206206994597C13D831ec7, 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48)group by 1), polygon_deposits as (selectdate_trunc('day', pt.block_time) as day,sum(value*p.price)/10e17 as amountfrom polygon.transactions ptleft join prices.usd pon date_trunc('minute', pt.block_time) = p.minutewhere pt."to" = 0xDFaa75323fB721e5f29D43859390f62Cc4B600b8and p.contract_address = 0x0000000000000000000000000000000000001010group by 1), polygon_usd_deposits as(selectdate_trunc('day', evt_block_time) as day,sum(value)/1e6 as amountfrom erc20_polygon.evt_transferwhere to = 0xDFaa75323fB721e5f29D43859390f62Cc4B600b8and contract_address = 0xc2132D05D31c914a87C6611C10748AEb04B58e8Fgroup by 1), bnb_deposits as (selectdate_trunc('day', b.block_time) as day,sum(value*p.price)/10e17 as amountfrom bnb.transactions bleft join prices.usd pon date_trunc('minute', b.block_time) = p.minutewhere b."to" = 0xDFaa75323fB721e5f29D43859390f62Cc4B600b8and p.contract_address = 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095cgroup by 1), bsc_usd_deposits as