Query editor
WITH extract_ids AS (SELECTbytearray_ltrim(bytearray_substring(topic3,3)) as asdfFROM avalanche_c.logsWHEREtx_hash IN (SELECT"hash"FROM avalanche_c.transactionsWHERE"to" = 0x6ee495eced3a0255057667ff2685e53f54a19a65AND TRY_CAST(data AS VARCHAR) LIKE '%0xe247100b%'))SELECTcount(*) as "total"FROM extract_idswhere length(asdf) < 5