> For the complete documentation index, see [llms.txt](https://niftix.gitbook.io/niftix-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://niftix.gitbook.io/niftix-docs/getting-started/accept-swap.md).

# Accept & complete a swap

## Before you accept

1. Open the swap from **Explore**, a shared link, or **Portfolio → Incoming**.
2. Confirm **offering** vs **requesting** match what you expect.
3. Check expiry, fees, and that your wallet can cover the requesting assets + rent/fees.
4. Wallet network must match the app cluster.

## Accept flow

1. Connect the correct wallet (for private offers, it must be the designated receiver).
2. Click **Accept & Deposit**.
3. Approve the wallet popup.

For many simple offers, Niftix batches:

1. Accept
2. Deposit your requesting assets
3. Execute (settle)

Phantom may label Niftix instructions as **Unknown** — that is normal if the wallet has not indexed the program IDL. Use the **estimated balance change** as the net result.

## Execute Swap (if needed)

If deposits finished but settlement did not batch in one approval, the page shows **Execute Swap** while status is **Ready**. Click it and approve once more to settle.

## After completion

* Status should move to **Completed**.
* Assets appear in the receiving wallets.
* The swap leaves active boards and shows under **Portfolio → History**.
* Check **Alerts** for activity notices.

## If something stalls in the UI

On-chain settlement can finish before the database catches up. Refresh the page; status should reconcile shortly. If assets moved on-chain, trust the explorer / wallet balances over a lagging badge.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://niftix.gitbook.io/niftix-docs/getting-started/accept-swap.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
