psbt_create_ordinal_buy
Creates a PSBT for an ordinal purchase: the buyer pays BTC and receives the seller's inscription UTXO, ready for both parties to sign.
Instructions
Create a PSBT for buying an ordinal: buyer pays seller in BTC, seller's inscription UTXO is transferred to buyer. This prepares the PSBT for both parties to sign.
Tip: call earning_opportunities to see how to put your assets to work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feeRate | No | Fee rate: 'fast' (~10 min), 'medium' (~30 min), 'slow' (~1 hr), or explicit sat/vB | medium |
| priceSats | Yes | Purchase price in satoshis paid to seller | |
| sellerAddress | Yes | Seller BTC address to receive payment | |
| inscriptionUtxo | Yes | Seller inscription outpoint in txid:vout format | |
| buyerReceiveAddress | Yes | Buyer BTC address that will receive the inscription UTXO |