Query editor
SELECTt.symbol,t.name,COUNT(*) AS total_dca_swaps, -- number of swaps executed into this tokenSUM(e.amountIn) / 1e6 AS total_volume_usdc, -- total input (always USDC, 6 decimals)SUM(e.amountOut) / POWER(10, t.decimals) AS total_amount_received -- normalized output tokenFROM dca_v1_base.dcaforwarder_evt_swapexecuted eLEFT JOIN tokens.erc20 tON e.toToken = t.contract_addressAND t.blockchain = 'base'GROUP BY t.symbol, t.name, t.decimalsORDER BY total_volume_usdc DESC;