# Adding NFTs to a Sale

**`add_nfts_to_sale<CURRENCY>(...)`**\
**Purpose**: Add more NFTs to an existing sale before they’re sold out.

**Key Parameters**:

* `sale`: A mutable reference to the `NFTSale` object.
* `nfts`: Additional NFTs to add.
* `asset_ids`: The IDs of the NFTs being added.
* `collection_cap`: For authorization checks.
* `sender_balances`: User balance objects to ensure the user adding NFTs has them available.
* `ctx`: The transaction context.

**Process**:

1. Verify the caller is the sale’s creator.
2. Check that the sale is still active.
3. Move additional NFTs into the sale’s asset\_ids list.
4. Update `nft_count` and emit listing events.

**Use Cases**:

* A creator initially lists 50 NFTs but later decides to add another 20 NFTs after seeing strong demand.
* A seller wants to restock a sale as the initial batch sells quickly.


---

# 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.artinals.com/artinals-protocol/functions-and-entry-points/adding-nfts-to-a-sale.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.
