Confirm buy offer

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

This endpoint completes the purchase of an inscription.

This requires the signed psbt from /create-launch-offer end point. Which is a psbt signed by the buyer and base64 encoded. This returns a transaction id for the ordinal sale transaction. The PSBT will only be created and returned for an active launchpad and only if the ordinal address of the buyer has an available allocation to buy in the currently active phase.

POST /launchpad/submit-launch-offer

POST https://testnet-api.ordinalsbot.com/launchpad/submit-launch-offer

API Key is required in the header:

headers: { 'x-api-key': '<YOUR_API_KEY>', ...otherHeaders }

Example Request Body:

{
  "launchpadId": "65a123b789cdef0123456789",
  "ordinalId": "8f46149faff54a7efe0c5c73a633077a8009b374ebcf6d80609807eab8d73218i0",
  "signedPsbt": "cHNidP8BAHECAAAAAfPQ0OTWpSxwRJK..."
}

Request Body

NameTypeDescription

launchpadId

String

Launchpad id

ordinalId

String

The ordinal id being purchased from the launchpad, this is available in the create offer response

signedPsbt

String

The PSBT signed by the buyer's payment wallet

// Returns transaction id

{
  "txId": "2c8e7ec23d8b4f91e98034b288721b9b7d0eb14d618bef59fe238b5023a4a34a"
}

Last updated