Check token contract status
This guide explains how to check the on-chain status of your ERC20 token contract.
This endpoint is used to check the on-chain status of an ERC20 token contract. The {deploymentId}
is passed in the path for tracking the status of contract creation. The {deploymentId}
can be found in the response body of the create ERC20 token contract endpoint as result.id
.
Request Endpoint: reference
GET /api/v3/erc20/contracts/deployments/{deploymentId}
Example Request
GET /api/v3/erc20/contracts/deployments/7eae57cb-6769-4a2a-84c8-32e72f0aaee7
Response Body
In the response body look for the result.
status
parameter. It can have three possible values:
SUCCEEDED
PENDING
FAILED
{
"success": true,
"result": {
"id": "7eae57cb-6769-4a2a-84c8-32e72f0aaee7",
"chain": "MATIC",
"address": "0x1e857475040b732d5adf3f8b2e7cd712914cdd23",
"name": "Infinity Token",
"symbol": "IFT",
"maxSupply": 100,
"burnable": true,
"owner": "0x7312750DF4d2057b758a61C7017729c6Ec9bB3E9",
"transactionHash": "0x7dd053caa4a77f84d70c38478bc14dd25766765d018740b0633eabf3b1307c6d",
"status": "SUCCEEDED"
}
}
Updated about 2 months ago