Query editor
SELECTto_hex(bytearray_substring(data, 1, 4)) as function_signature,COUNT(*) as transaction_count,COUNT(DISTINCT "from") as unique_users,DATE_TRUNC('day', block_time) as dayFROM avalanche_c.transactionsWHERE "to" = 0xCaD684775d7879E63f5d319dAcC8086EeCC01B01AND block_time >= NOW() - INTERVAL '7' dayAND success = trueAND bytearray_substring(data, 1, 4) NOT IN (0x204b5c0a, 0xf0aff68d, 0x6ba16543, 0x97607530)GROUP BY to_hex(bytearray_substring(data, 1, 4)), DATE_TRUNC('day', block_time)ORDER BY transaction_count DESCLIMIT 20;