PATCH: Update Contract Name and Symbol
Sets the name and symbol on the contract and network.
Changes to deployed contracts will be broadcasted immediately
https://api.hypermint.com/v1/nft-contract/:contractId/update-name-and-symbol
Update Contract Name and Symbol
Parameters
Header
Parameter | Description |
---|---|
HM_ACCESS_KEY | HyperMint Access Key |
HM_ACCESS_KEY_SECRET | HyperMint Access Key Secret |
Body
Parameter | Type | Required | Description |
---|---|---|---|
name | string | Y | Name of the contract |
symbol | string | Y | Symbol of the contract |
Response
Code | Meaning |
---|---|
🟢 200: OK | If the contract has been deployed, an interactionId will be returned which allows you to check the status of the request. |
🟠 404: Not Found | Contract does not exist or you don't have permission |
🟠 400: Bad Request | The contract has been disabled by an administrator |
interface ContractInteractionResponse {
interactionId?: string;
}
See GET Interaction for a list of interaction types which are used and how to check the status if needed.
Feedback
Something not quite right, unclear or can't find what you are looking for? Please let us know at support.moonpay.com and we will get back to you as soon as we can.
Updated 8 months ago