Query editor
/* Meta *//* metaTokenAddress: 0x7ae075546e8042dC263FA0eb6519ce0a04EABB93 *//* pair: 0x83b33b4dB2776F119b2DDD902419254775c8DB15 *//* deployer: 0x81FBD7a1F4Ad93853B73437F909b54DD9E68f62D */WITH taxrevenue AS (SELECTDATE_TRUNC('day', block_time) AS day,SUM(value) / 1e18 AS tax,SUM(SUM(value) / 1e18) OVER (ORDER BY DATE_TRUNC('day', block_time)) AS cumulative_taxFROM ethereum.tracesWHERE"from" = 0x7ae075546e8042dC263FA0eb6519ce0a04EABB93AND block_number >= 17927124AND tx_success = TRUEAND to = 0x81FBD7a1F4Ad93853B73437F909b54DD9E68f62DGROUP BY DATE_TRUNC('day', block_time)ORDER BY DATE_TRUNC('day', block_time) DESC)SELECTtax * (SELECT price from prices.usd_latest where symbol = 'WETH' and blockchain = 'ethereum') as tax_usd,cumulative_tax * (SELECT price from prices.usd_latest where symbol = 'WETH' and blockchain = 'ethereum') as cumulative_tax_usd,*FROM taxrevenue txORDER by day DESC