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

apiKeystringRequiredDefaults to docs-demo

Query parameters

contractAddressstringRequiredDefaults to 0xe785E82358879F061BC3dcAC6f0444462D4b5330

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.