Query editor
-- setup profile lookup tablewith ethereum_profile_detail as (select evt_block_time,evt_block_number,evt_tx_hash,profileId,handle,"to" as ownerfrom link3_ethereum.ProfileNFT_evt_CreateProfile),-- BNB profiles contains all handle created on ethereum (minted through airdrop)bnb_profile_detail as (select b.evt_block_time,b.evt_block_number,b.evt_tx_hash,b.profileId,b.handle,b."to" as ownerfrom link3_profile_bnb.ProfileNFT_evt_CreateProfile bleft join ethereum_profile_detail e on b.handle = e.handlewhere e.handle is null),all_profile_detail as (select evt_block_time,evt_block_number,evt_tx_hash,profileId,handle,ownerfrom ethereum_profile_detailunion allselect evt_block_time,evt_block_number,evt_tx_hash,profileId,handle,ownerfrom bnb_profile_detail),-- bnb-- profile minting by profileIdprofile_mint as (select b.evt_block_time,b.profileId as uid,1 as with_profile,'profile_mint' as tx_typefrom link3_profile_bnb.ProfileNFT_evt_CreateProfile b),-- essence register by profileIdessence_register as (select evt_block_time,profileId as uid,1 as with_profile,'essence_register' as tx_type