Check Allocation

An API Key is required to interact with Launchpad APIs. Please contact us to get an API Key and get started.

Use this endpoint to check a wallet's allocation and claims for the launch.

POST /launchpad/get-allocation

POST https://testnet-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

NameTypeDescription

String

Launchpd id

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