Query editor
SELECT CAST(contract_address AS varchar) token_contract,count(*) transfer_events,count_if(topic3 IS NOT NULL) indexed_token_id_events,count_if(varbinary_substring(topic1,13,20)=0x07fc1a929caeb69c431c7bd4747451b1a12751cc) outgoing_events,count_if(varbinary_substring(topic2,13,20)=0x07fc1a929caeb69c431c7bd4747451b1a12751cc) incoming_events,min(block_time) first_seen,max(block_time) last_seen FROM robinhood.logs WHERE block_date>=DATE '2026-09-01' AND topic0=0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef AND (topic1=0x00000000000000000000000007fc1a929caeb69c431c7bd4747451b1a12751cc OR topic2=0x00000000000000000000000007fc1a929caeb69c431c7bd4747451b1a12751cc) GROUP BY 1 ORDER BY transfer_events DESC