v1

latestOpenAPI 3.0.1Apache 2.02026-07-2686219209.3 KB
Runes Sweeping

Get an unsigned PSBT for buying a rune

Get an unsigned PSBT for buying a rune

post/v2/ord/btc/runes/psbt/get-sweeping

Request body

orderIdsstring[] required

Array of order IDs, must contain at least 1 and no more than 50

runeSymbolstring required

Rune symbol must contain only uppercase letters and be between 1 and 26 characters long

takerPaymentAddressstring btc-address required

Bitcoin address for the taker's payment

takerPublicKeystring btc-public-key required

Bitcoin public key for the taker payment address

takerReceiveAddressstring btc-address required

Bitcoin address for the taker to receive assets. Should be your taproot address

feeRateTier'minimumFee' | 'halfHourFee' | 'hourFee' | 'fastestFee'

Desired speed for the transaction fee rate

feeRateNumnumber

Numeric value specifying the exact fee rate

enableRBFProtectionboolean

Boolean value to enable RBF protection sweeping

Response

Successful response

invalidOrdersstring[] required

List of order IDs that could not be processed by non RBF protection sweeping (RBF protection orders are excluded)

validOrdersstring[]

List of order IDs that could be processed by non RBF protection sweeping

psbtBase64string

Base64-encoded unsigned PSBT (Partially Signed Bitcoin Transaction) of the non RBF protection sweeping

paymentUtxoIndexesnumber required

Index of payment UTXO inputs