Query editor
withDEVBought AS (SELECT*FROM(SELECT*FROMuniswap.tradesWHEREblockchain = 'ethereum'AND token_bought_address = 0x5caf454ba92e6f2c929df14667ee360ed9fd5b26UNION ALLSELECT*FROMuniswap.tradesWHEREblockchain = 'polygon'AND token_bought_address = 0xa5577d1cec2583058a6bd6d5deac44797c205701UNION ALLSELECT*FROMuniswap.tradesWHEREblockchain = 'arbitrum'AND token_bought_address = 0x91F5dC90979b058eBA3be6B7B7e523df7e84e137))SELECTSUM(token_bought_amount)FROMDEVBoughtWHERE block_time >= CURRENT_TIMESTAMP - INTERVAL '{{In_Days}}' DAY