Check Allocation
Use this endpoint to check a wallet's allocation and claims for the launch.
POST
/launchpad/get-allocation
POST
/launchpad/get-allocationPOST
https://api.ordinalsbot.com/launchpad/get-allocation
API Key is required in the header:
headers: { 'x-api-key': '<YOUR_API_KEY>', ...otherHeaders }
Example Request Body, this will get the allocation and claimed details for a buyer:
{
"launchpadId": "65a123b789cdef0123456789",
"buyerOrdinalAddress": "bc1pdtkxdpunmu9rfj7tcglt4kcg2qya8w4y4cxhqcy9fscqnwdk8c7q6ec2w3"
}
Request Body
Name
Type
Description
launchpadId
String
Launchpd id
buyerOrdinalAddress
String
Wallet address of a prospective buyer
Response
Response contains an array of phases with allocation count as well as clained count for that phase.
{
"phases": [
{
"id": "65a123b789cdef0123456790",
"public": false,
"allocation": "5",
"inscriptionsClaimed": 1
},
{
"id": "65a123b789cdef0123456791",
"public": true
}
]
}
Last updated