Query editor
-- SELECT-- COUNT(DISTINCT "from") AS users,-- count(*) as trades,-- sum(gas_used * gas_limit) as gasAmount,-- 'arbitrum' as chain-- FROM-- arbitrum.transactions-- where-- to = 0x6352a56caadc4f1e25cd6c75970fa768a3304e64-- and block_date>=current_date - interval '30' day-- and success=true-- UNION allSELECTCOUNT(DISTINCT "tx_from") AS users,count(*) as trades,-- sum(gas_used * gas_limit) as gasAmount,'optimism' as chainFROMoptimism.logswheretx_to = 0x6352a56caadc4f1e25cd6c75970fa768a3304e64and block_date>=current_date - interval '30' dayand topic0 in (0x76af224a143865a50b41496e1a73622698692c565c1214bc862f18e22d829c5e,0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822, 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67)