LogoLogo
Back to AppHelp Center
  • Getting Started
    • Welcome
  • OrdinalsBot API
    • Overview
    • Libraries
    • Template-App
    • Signet
    • Testnet
    • Fractal
    • Getting Prices
      • Getting Prices (Legacy)
    • Create a Direct Inscription Order
    • Create a Managed Inscription Order
    • Get Order Status
    • Create a Collection
    • Create a Collection Order
    • Create Text Inscription Order
    • Search Inscriptions
    • Check Rare Sats Inventory
    • Referral Scheme
    • Transaction Accelerator
    • Burning Assets
    • Webhooks
    • Order States
    • Order Types
  • Runes
    • Etch
    • Mint
    • Direct Mint
      • 1. Generate Direct Mint PSBT
      • 2. Direct Rune Mint Process PSBT
    • Launchpad
      • Create
      • Mint
      • Get Launchpad
    • Airdrop
  • Token Pay
    • What is TokenPay?
    • API Docs
      • API reference
        • Order
        • Create payment psbt
        • Create burn rune psbt
        • Validate burn rune tx
        • Create burn inscription psbt
        • Utils
          • Checktx
          • Submittx
          • Finalize psbt
        • User
          • Withdrawal
          • Order
            • Rune
          • Account
            • Withdraw
            • Balance
      • Specification
  • Marketplace
    • User Guide: Pre-Inscribed Launchpad API
    • API Docs
      • Data API
    • Editions Launchpad
  • Launchpad API
    • Create Marketplace
    • Create a new Launchpad
    • Retrieve Launch PSBT
    • Confirm Launch
    • Check Allocation
    • Check for Padding Outputs
    • Setup Padding Outputs
    • Create buy offer
    • Confirm buy offer
    • Get Launch Info
  • Sat Scanner API
    • Find Special Ranges
    • Find Special Ranges UTXO
    • Supported Satributes
  • Sat Extractor
    • Extract
  • BRC20 / BRC2.0PROG
    • OPI API
    • Bitcoin Remix
  • SNS API
    • SNS API
  • Mempool API
    • Mempool API
  • TAP PROTOCOL
    • Tap Reader API
  • UTXO
    • Split
  • User Guide
    • Inscribe your first Ordinal
    • Receiving Payments
  • Knowledge Base
    • Ordinals
      • What is an Ordinal?
      • Satoshi Rarity
      • What are BRC-20 Tokens?
      • Image Optimisation
      • Pixel Art
    • Bitcoin
      • Unspent Transaction Output (UTXO)
  • Official Links
    • Twitter
    • Discord
Powered by GitBook
On this page
  1. Launchpad API

Create 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 creates transaction to purchase an inscription from an active phase of a launchpad. Platform Cost: A platform fee is applied only when an ordinal is sold. It is not charged for listing an ordinal. The current fee is 1% of sale amount charged to the seller. A marketplace can also configure marketplace fee and/or launchpad fee for each sale, these are 0% by default.

Upon usage, it generates a Partially Signed Bitcoin Transaction (PSBT) encoded in base64. This PSBT must be signed by the payment wallet. 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/create-launch

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

API Key is required in the header:

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

Example Request Body:

{
  "launchpadId": "65a123b789cdef0123456789",
  "buyerOrdinalAddress": "bc1p84ec5hn4asw90slszeje3yrnmzgapj0s9ern85zgh4kc9frqcl3q422dc2",
  "buyerPaymentAddress": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
  "buyerPaymentPublicKey": "03a34b99f22c790c4e36b2b3c2c35a36db06226e41c692fc82b8b56ac1c540c5bd",
  "launchpadPhaseId": "65a123b789cdef0123456790"
}

Request Body

Name
Type
Description

launchpadId

String

Launchpad id

launchpadPhaseId

String

The phaseid of the active phase from which the buyer is buying an inscription

buyerOrdinalAddress

String

The ordinal address of the buyer, this address should also be in the allowlist of the active phase

buyerPaymentAddress

String

The payment wallet address of the buyer

buyerPaymentPublicKey

String

The Payment public key of the buyer payment wallet address

// Returns phase and launch info along with a unsigned PSBT

 {
  "phase": {
    "_id": "65a123b789cdef0123456790",
    "isPublic": false,
    "price": 6000,
    "startDate": "1234123432",
    "endDate": "1234923432"
  },
  "ordinalId": "8f46149faff54a7efe0c5c73a633077a8009b374ebcf6d80609807eab8d73218i0",
  "launchpadPhase": "65a123b789cdef0123456790",
  "buyerInputIndices": [0, 1],
  "psbt": "cHNidP8BAHECAAAAAfPQ0OTWpSxwRJK...",
  "psbtHex": "70736..."
}
{
    status: 'error',
    error: 'error reason'
}
PreviousSetup Padding OutputsNextConfirm buy offer

Last updated 7 months ago