Query editor
with bridge_flows as (selectdate_trunc('day', block_time) as day,sum(casewhen "from" = 0x0000000000000000000000000000000000000000 then amountelse 0end) as bridge_in_wcc,sum(casewhen "to" = 0x0000000000000000000000000000000000000000 then amountelse 0end) as bridge_out_wccfrom tokens.transferswhere blockchain = 'bnb'and contract_address = 0x6050d829f5a5e0ea758d8357ddcdec1381699248group by 1)selectday,bridge_in_wcc,bridge_out_wccfrom bridge_flowsorder by day