Query editor
SELECTDATE_TRUNC('day', evt_block_time) AS day,(SUM(tokens_sold) + SUM(tokens_bought)) / 1e18 AS total_swap_volume,((SUM(tokens_sold) + SUM(tokens_bought)) / 1e18) * 0.0004 AS estimated_feeFROM curvefi_ethereum.fraxusdp_evt_tokenexchangeGROUP BY 1ORDER BY 1