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
    • 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. PSBT Construction
  • 2. Order creation & broadcast
  1. Runes

Airdrop

The airdrop consists of two steps:

  1. PSBT construction

  2. Order creation & broadcast

1. PSBT Construction

POST https://api.ordinalsbot.com/runes/airdrop

Receives the airdrop data and returns the PSBT to be signed

Headers

Body

Name
Type
Description

runeName*

String

Rune name with spacers

perAddressAmount*

Number

Amount to distribute to each address

runeSenderAddress*

String

Bitcoin address containing the necessary rune amount

btcSenderAddress*

String

Bitcoin address containing the necessary btc amount for network fees and postage

receiverAddresses*

Array

Array of addresses to receive the airdrop (max 2000 addresses)

feeRate*

Number

Fee rate in sats/vB

Response

{
    "psbts": 
        [
            "cHNidP8BAHECAAAAAfPQ0OTWpSxwRJK...",
            "cHNidP8BAHECAAAAAfPQ0OTWpSxwRJK..."
        ]
}
{
    "status": "error",
    "error": "error reason"
}

2. Order creation & broadcast

POST https://api.ordinalsbot.com/runes/airdrop-psbt

Receives the signed PSBTs, creates an order and broadcasts the transaction

Body

Name
Type
Description

psbts

Array

Array of signed PSBTs in base64 to broadcast

Response

{
    "runeName": "RuneName",
    "psbts": [
        "cHNidP8BAHECAAAAAfPQ0OTWpSxwRJK..."
    ],
    "orderType": "rune-airdrop",
    "id": "76d1a25b-1e56-4476-8a98-d248f1ab5f95",
    "status": "ok",
    "state": "queued",
    "createdAt": {
        ".sv": "timestamp"
    }
}
{
    "status": "error",
    "error": "error reason"
}
{
  "error": "Invalid request"
}

PreviousGet LaunchpadNextWhat is TokenPay?

Last updated 2 months ago