Query editor
WITH daily_plat_fees AS (select (bytearray_to_uint256(bytearray_substring(data, 1 + 32 * 4, 32))) / 1e18 as appFee,date_trunc('day', block_time) as block_timefrom base.logswhere topic0 = 0x069a3131d4d72dbdcb40a0d8ff0aa58f71096c2726da05e3ed2608ddf1e93228and contract_address = 0x428aeF7fB31E4E86162D62d4530a4dd7232D953Dunion allselect (bytearray_to_uint256(bytearray_substring(data, 1 + 32 * 4, 32))) / 1e18 as appFee,date_trunc('day', block_time) as block_timefrom base.logswhere topic0 = 0x58d64bdf8bc9e2ab45691bd838283f536381da0d63e5370b131650a085f846c6and contract_address = 0x428aeF7fB31E4E86162D62d4530a4dd7232D953D)select block_time, sum(appFee) as daily_fee from daily_plat_feesgroup byblock_time