Create padding outputs

Use this endpoint to create a transaction that will create padding outputs for the buyer. This returns a PSBT in base64 format which needs to be signed and broadcast by the buyer's payment wallet address.

POST Create padding outputs for buyer

Create a transaction to setup padding outputs for buyer

POST https://api.ordinalsbot.com/marketplace/setup-padding-ouputs

API Key is required in the header:

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

Request Body

NameTypeDescription

address*

String

Buyer's payment wallet address. The buyer will need to pay the cost of the transaction from UTXOs belonging to this address.

publicKey*

String

Public Key for buyer's payment wallet address.

feeRateTier

String

Transaction fee rate should be one of the following. Defaults to fastestFee if not specified: fastestFee halfHourFee hourFee minimumFee

numOfOutPuts

number

Number of dummy padding outputs to create. This defaults to 3 if not specified


{
    "psbt": "cHNidP1BAP15AQIAAAAE1K5...........", // base64 transaction to be signed
}

Last updated