"contract_type" incorrect for certain ERC721 contracts, CryptoKitties

Hello,

We are trying to use the getNFTs api to pull information about certain contracts (https://docs.moralis.io/moralis-dapp/web3-api/nft-api#getnfts). For most of the ERC721 contracts, the “contract_type” in the response is “ERC721”. However for the CryptoKitties contract (https://etherscan.io/token/0x06012c8cf97bead5deae237070f9587f8e7a266d) the value is “ERC165” instead of “ERC721”. Is this a bug or there’s a misunderstanding about this field?

Thanks.

Best,
Eric

this is a custom contract, that doesn’t really follow the standards, you’ll have to treat it as a special case

1 Like