Query editor
selectdate_trunc('hour', "block_time") as hour,count(*) as user,count(casewhen bytearray_substring("data", 36, 1) = 0x01 then 1else nullend) as android,count(casewhen bytearray_substring("data", 36, 1) = 0x00 then 1else nullend) as iOSfrompolygon.transactionswhere"to" = 0x197a3de3eeeb714c9d75b128e95486106fec3c20AND "block_time" >= date_trunc('hour', now()) - interval '36' hourAND bytearray_substring("data", 1, 4) = 0x5c57c450AND bytearray_substring("data", 36, 1) < 0x0Agroup by1