Search
K

Get Token Allocation

Returns a breakdown of token allocation and purchasing options for a given wallet address as it relates to a given contract. This endpoint considers all the Access Lists attached to a contract. Access lists and allocations only apply for Mint With Crypto and Fiat Minting.
This endpoint currently only supports ERC721 contracts.
get
https://api.hypermint.com/v1
/nft-contract/:contractId/tokens/:tokenId/allocation/:address
Gets token allocation for a given wallet address
The :tokenId param should be set as 0 for ERC721 contracts.
Parameters
Header
HM_ACCESS_KEY*
HyperMint Access Key
HM_ACCESS_KEY_SECRET*
HyperMint Access Key Secret
Responses
200: OK
Token allocation
404: Not Found
Couldn't find a contract in the current authenticated account with that id

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.