# ArchiveErc1155Contract

This endpoint allows you to archive a contract. When you archive an NFT contract, it will be removed from all API responses, rendering it inaccessible via any API calls. Furthermore, you will lose the ability to create new token-types under the deleted contract. All token-types and minted NFTs associated with the archived contract will also be archived and cannot be accessed via API calls. However, the NFT contract will remain on the blockchain.

{% code overflow="wrap" %}

```cpp
void ArchiveErc1155Contract(EVyChain Chain, FString ContractAddress, const FVyOnComplete& OnComplete) const;
```

{% endcode %}

\
**Parameters**

| Chain           | [EVyChain](/sdk-reference/ue5-sdk-v3/object-references/shared/enum/evychain.md) | The blockchain of the contract.                                                         |
| --------------- | ------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| ContractAddress | FString                                                                         | The contract address that you want to delete.                                           |
| OnComplete      | FVyOnComplete                                                                   | The callback function called when the user preferences retrieval operation is complete. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sdk.venly.io/sdk-reference/ue5-sdk-v3/function-references/token/contract/archiveerc1155contract.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
