Update Contract Dates
Sets the sale dates on the contract for buying on network.
Changes to deployed contracts will be broadcast immediately
patch
https://api.hypermint.com/v1
/nft-contract/:contractId/update-dates
Updates sale dates on contract
Parameters
Header
HM_ACCESS_KEY*
HyperMint Access Key
HM_ACCESS_KEY_SECRET*
HyperMint Access Key Secret
Body
publicSaleAt
Date
Date format is YYYY-MM-DDTHH:mm:ss.sssZ. Not setting a date will disable checks on the contract when buying.
publicSaleAt
as undefined
allows buying at any time before the close datesaleClosesAt
Date
Date format is YYYY-MM-DDTHH:mm:ss.sssZ. Not setting a date will disable checks on the contract when buying.
saleClosesAt
as undefined
allows buying indefinitelyResponses
200: OK
If the contract has been deployed, an interactionId will be returned which allows you to check the status of the request.
400: Bad Request
The contract has been disabled by an administrator
404: Not Found
Contract does not exist or you do not have permission
See Get Interaction for a list of interaction types which are used and how to check the status if needed.
Something not quite right, unclear or can't find what you are looking for? Please let us know at [email protected] and we will get back to you as soon as we can.
Last modified 8mo ago