Delete token contract
How to delete/archive an ERC20 token contract.
This endpoint allows you to archive an ERC20 contract. When you archive an ERC20 contract, it will be removed from all API responses, rendering it inaccessible via any API calls. Furthermore, you cannot mint new tokens under the archived contract. All minted ERC20 tokens associated with the archived contract will also be archived and cannot be accessed via API calls. However, the ERC20 contract will remain on the blockchain.
Request Endpoint: reference
DELETE /api/v3/erc20/contracts/{chain}/{contractAddress}
Parameter | Param Type | Description | Data Type | Mandatory |
---|---|---|---|---|
{chain} | Path | The blockchain of the token contract | String | ✅ |
{contractAddress} | Path | The token contract address you want to delete | String | ✅ |
Example Request:
DELETE /api/v3/erc20/contracts/MATIC/0x022a39f06413e249b3739c573bdb28b98eac051b
Response
You will get a 200 OK response indicating the token contract has been archived/deleted successfully.
Updated about 19 hours ago