Query editor
With Unrealizedfundingfee as (selectdate_trunc('day', block_time) as day,bytearray_to_uint256(bytearray_substring(data, 1,32))/1e18 as fundingfeefrom bnb.logswhere contract_address = 0x1b6f2d3844c6ae7d56ceb3c3643b9060ba28feb0and block_number > 24638880and topic0=0xb0faf9d95bf9da91b484b80f15f870aa692d8b2480c3815dc994b1d7a85c3052)select sum(fundingfee) from unrealizedfundingfee