Query editor
SELECT'm.1' as method,'dustland' as project,'token' as category,'0xb31eF9e52d94D4120eb44Fe1ddfDe5B4654A6515' as contract_address,"to" as wallet_address,count(*) as trade_times,0 AS trade_amount,date_diff('day', max(date_trunc('day',evt_block_time)),now()) as active_in_days,'etheruem' as chainFROM erc20_ethereum.evt_Transferwhere contract_address = 0xb31eF9e52d94D4120eb44Fe1ddfDe5B4654A6515GROUP BY "to"UnionSELECT'm.1' as method,'dustland' as project,'token' as category,'0x81382e9693dE2aFc33F69B70a6C12CA9B3a73F47' as contract_address,"to" as wallet_address,count(*) as trade_times,0 AS trade_amount,date_diff('day', max(date_trunc('day',evt_block_time)),now()) as active_in_days,'polygon' as chainFROM erc20_polygon.evt_Transferwhere contract_address = 0x81382e9693dE2aFc33F69B70a6C12CA9B3a73F47GROUP BY "to"UnionSELECT'm.1' as method,'dustland' as project,'token' as category,'0x7837fd820bA38f95c54D6dAC4ca3751b81511357' as contract_address,"to" as wallet_address,count(*) as trade_times,0 AS trade_amount,date_diff('day', max(date_trunc('day',evt_block_time)),now()) as active_in_days,'bnb' as chainFROM erc20_bnb.evt_Transferwhere contract_address = 0x7837fd820bA38f95c54D6dAC4ca3751b81511357GROUP BY "to"union-- NFTsSELECT'm.1' as method,'dustland' as project,'token' as category,'0x3B2f1189b9372c4B6C569a497ad241112d8824c1' as contract_address,"to" as wallet_address,count(*) as trade_times,0 AS trade_amount,date_diff('day', max(date_trunc('day',evt_block_time)),now()) as active_in_days,'etheruem' as chainFROM erc721_ethereum.evt_Transferwhere contract_address = 0x3B2f1189b9372c4B6C569a497ad241112d8824c1GROUP BY "to"UnionSELECT'm.1' as method,'dustland' as project,