# Check for padding outputs

This endpoint helps you find out if the buyer's payment address has the necessary extra outputs, called "padding outputs" in their UTXO set. These extra outputs are used for setting up a buying transaction safely. They are part of a special security method called the 2-Dummy UTXO algorithm. This technique makes sure the Ordinal stays safe and isn't mixed up with other less important or dummy outputs. It also prevents the Ordinal from being mistakenly used up in transaction fees. The system follows common rules, creating a UTXO for the NFT at a specific starting point and setting aside 10,000 satoshis (sats) as postage. This careful approach keeps the transaction secure.\
\
This end point is to check if there are padding UTXOs available in the buyers UTXO set. If these are not then <https://api.ordinalsbot.com/marketplace/setup-padding-ouputs> can be used to create padding outputs.\
\
More info on utxos: <https://docs.ordinalsbot.com/knowledge-base/bitcoin/unspent-transaction-output-utxo>

### `POST` Check for padding outputs

## Check for padding outputs

<mark style="color:green;">`POST`</mark> `https://api.ordinalsbot.com/marketplace/confirm-padding-outputs`

API Key is required in the header:

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

#### Request Body

| Name                                      | Type   | Description                                                                                                                  |
| ----------------------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------- |
| address<mark style="color:red;">\*</mark> | String | Buyer's payment wallet address. The buyer will need to pay the cost of the transaction from UTXOs belonging to this address. |

{% tabs %}
{% tab title="200: OK " %}

```json

{
    "paddingOutputsExist": true, // boolean, if padding outputs exist
}

```

{% endtab %}

{% tab title="500: Internal Server Error " %}

```json
{
    status: 'error',
    error: 'error reason'
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ordinalsbot.com/marketplace-1/check-for-padding-outputs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
