Invalidate Contract Cache

Marks all cached tokens for the specified contract as stale, ensuring the next query fetches live data instead of cached data.

Please note that this endpoint is only available on Ethereum, Polygon, Arbitrum, Optimism & Base networks.

Path parameters

apiKeystringRequired

Query parameters

contractAddressstringRequired

String - Contract address for the NFT contract (ERC721 and ERC1155 supported).

Response

Returns confirmation of cache invalidation along with the number of tokens invalidated.

successstringOptional


True if the contract was invalidated.
False - if it wasn’t.

numTokensInvalidateddoubleOptional

The number of tokens that were invalidated as a result of running this query.