Query editor
select p1.*,p2.owner_keyfrom (select'eip155:8453' as caip2,logs.contract_address as token_address,tokens.symbol as symbol,logs.tx_to as to_address,count(distinct(logs.tx_hash)) as tx_hash_cnt,count(distinct(logs.tx_from)) as tx_from_cntfrombase.logs logsleft join tokens.erc20 tokenson logs.contract_address = tokens.contract_addresswherelogs.block_date >= (CURRENT_DATE - INTERVAL '7' DAY)and logs.topic0 = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efand tokens.blockchain = 'base'group bylogs.contract_address,logs.tx_to,tokens.symbolunion allselect'eip155:8453' as caip2,from_hex(substr('0x0000000000000000000000000000000000000000', 3)) as token_address,null as symbol,t."to" as to_address,count(t.hash) as tx_hash_cnt,count(distinct (t."from")) as tx_from_cntfrombase.transactions twheret.block_date >= (CURRENT_DATE - INTERVAL '7' DAY) and t.value > 0group by t."to")p1inner join labels.owner_addresses p2on p1.to_address = p2.addresswhere p2.blockchain = 'base'ORDER BYtx_hash_cnt DESCLIMIT 100