User Guide: Pre-Inscribed Launchpad API
This document provides detailed instructions for implementing the Pre-Inscribed Launchpad API, covering the steps required to create a launchpad and make offers.
1. Creating a Pre-Inscribed Launchpad
Overview
The Pre-Inscribed Launchpad API enables you to create and manage pre-inscribed launchpads for pre inscribed inscriptions. Here is a sequence of API calls for creating a Launchpad:

Implementation Steps
Step 1: Create Launchpad
Make an API call to create a new Pre-Inscribed Launchpad:
Request body:
Response:
Step 2: Monitor Launchpad Status by calling launchpad info endpoint /launchpads/{id}
Poll the Launchpad info API until the launchpad status changes:
"initializing": Lanchpad creation has started and still in progress
"pending_psbt_signature": All inscriptions processed and all PSBTs ready for requires signature
"active": No pending PSBTs to sign
"failed": Creation process failed failed_reason will have reason for failure
Response:
Step 3: Poll launchpad info
Poll launchpad info till the status changes to "pending_psbt_signature", this indicates that all inscriptions have been processed. A set of PSBTs have been created and need to be signed.
Step 4: Fetch PSBT Details
Use the psbt id for each PSBT object from launchpad if. Call the /marketplace/launchpads/psbt/{id} API endpoint to fetch PSBT details for each psbt id:
Response:
Step 5: Sign the PSBT
The PSBT needs to be signed by the inscription owner address on the frontend. Configure seller input and sign the transaction:
Step 6: Confirm Signed PSBT
Call the /marketplace/launchpads/psbt/{id}/confirm endpoint to update with the signed PSBT:
Request body:
Response:
Step 7: Complete Process
Repeat steps 2-6 until all required PSBTs are signed and the launchpad status becomes "active".
2. Creating a Pre-Inscribed Launchpad Offer
Overview
This process allows users to buy(mint) from a pre-inscribed launchpad.
Here is a sequence of API calls for buying from a Launchpad:

Implementation Steps
Step 1: Set Up Padding Outputs
if padding outputs dont exist in the buyers payment address then padding outputs will need to be created by calling:
Call the Setup Padding Output API:
Request body:
Response:
Sign the padding output transaction:
Wait for transaction confirmation before making a purchase
Step 2: Create the Offer
Call the /marketplace/launchpads/offers API:
Request body:
Response:
Step 3: Sign the Offer Transaction
Step 4: Submit the Offer
Call the /marketplace/launchpads/offers/{id}/submit API to complete the purchase and broadcast the transaction:
Request body:
Response:
Last updated

