Query editor
select aggregator_name,Count(*) as num_txns,sum(amount_usd) *0.025 as Platform_fee,SUM(CASEWHEN platform_fee_receive_address ='0x0000a26b00c1f0df003000390027140000faa719' THEN platform_fee_amount_usdwhen platform_fee_receive_address is null THEN amount_usd *0.025ELSE 0END) AS opensea_fee,SUM(CASE--WHEN platform_fee_receive_address = '0xa858ddc0445d8131dac4d1de01f834ffcba52ef1' THEN amount_usd *0.025WHEN platform_fee_receive_address != '0x0000a26b00c1f0df003000390027140000faa719' THEN amount_usd *0.025ELSE 0END) AS opensea_fee_lost_blurfrom seaport_ethereum.tradeswhere block_date <= '2023-02-17'and-- aggregator_name ='Blur' andnft_contract_address ='0x764aeebcf425d56800ef2c84f2578689415a2daa'group by 1