Search
K

Authorise Buy

Generates a signature that permits a specific wallet to buy a specified amount of a specific token. This endpoint validates that the specified wallet is permitted to perform this action, taking into account allow lists as well as public sale windows. Suitable for use directly from storefronts.
get
/nft-contract/:contractId/token/:tokenId/authorise-buy?address=:address&amount=:amount
Get a signature which allows a wallet to initiate buy
The url needs to be prefixed with https://api.hypermint.com/v1
Parameters
Query
address*
String
Wallet address
amount*
number
Amount of tokens the specified address is permitted to buy
Header
HM_ACCESS_KEY*
HyperMint Access Key
HM_ACCESS_KEY_SECRET*
HyperMint Access Key Secret
Responses
200: OK
Responds with an object that contains a signature
400: Bad Request
The request sent was malformed or did not pass as a valid authorisation request. The error message will explain the reason as to why the request couldn't be serviced.
404: Not Found
Not Found

Feedback

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.