Query editor
-- excludes:-- 1. txs from != transfer to (not using this for now)-- 2. excluding known LP mintswith nft_creation_raw as (-- to update below using contract mapping once zora contracts are includedselectcm.contract_address,cm.token_standard,cm.blockchain,cm.created_time,i.name as blockchain_name,cm.created_tx_from as creator_address,cm.created_tx_hash as creation_tx_hashfrom contracts.contract_mapping as cmleft join evms.info as ion cm.blockchain = i.blockchainwherecm.blockchain in ('optimism', 'base', 'zora')and cm.token_standard in ('erc721', 'erc1155')),defi_nfts as (selectnft_contract_address,blockchainfrom dune.oplabspbc.result_potential_list_of_defi_position_nfts -- https://dune.com/queries/3247436),nft_creations as (selectnc.*from nft_creation_raw as ncleft join defi_nfts as defion nc.contract_address = defi.nft_contract_addressand nc.blockchain = defi.blockchainwheredefi.nft_contract_address is nulland nc.creator_address != 0x0000000000000000000000000000000000000000)selectnc.*,casewhen x.creator_address is not nullthen true else falseend as is_first_time_flagfrom nft_creations as ncleft join (selectcreator_address,blockchain,min(created_time) as min_created_timefrom nft_creationsgroup by 1, 2) as xon nc.creator_address = x.creator_addressand nc.created_time = x.min_created_timeand nc.blockchain = x.blockchain