select *
from ethereum.core.fact_transactions
where 1=1
-- and tx_hash='0x465d9842e04da04b2770e6fbdfa524c7fed99991a10be698a7d69ceed2266977'
and to_address in ( select distinct nft_address from ethereum.core.ez_nft_mints)
and substr(input_data,1,10)='0xa0712d68'
and STATUS!='SUCCESS'
limit 1000