invalidateContract

Marks all cached tokens for the particular contract as stale. So the next time the endpoint is queried it fetches live data instead of fetching from cache.

Path parameters

apiKeystringRequired

Query parameters

contractAddressstringRequired

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

Response

successstring or null


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

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