Skip to content
Alchemy Logo

invalidateContract

GET
/v2/{apiKey}/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

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Query Parameters

stringrequireddefaults to 0xe785E82358879F061BC3dcAC6f0444462D4b5330

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

Responses

200

Was this page helpful?