> 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/platform-guide/fees.md).

# Fees

## Platform fee

Niftix charges platform fees at **execute**:

| Asset          | Fee                                                                   | Who / how                                               |
| -------------- | --------------------------------------------------------------------- | ------------------------------------------------------- |
| **SOL**        | **0.25%** (25 bps) per SOL leg, **capped at 0.25 SOL**                | Taken from escrowed SOL → treasury                      |
| **USDC / SPL** | Same **0.25%** per SPL leg, **capped at 0.25 USDC** (6-decimal units) | Taken from escrowed tokens → treasury ATA for that mint |
| **NFT / Core** | **0.01 SOL once per side** that includes ≥1 NFT or Core (not per NFT) | Paid by the **execute signer** → treasury SOL           |

Fee **bps** are **snapshotted** when the swap is created on-chain, so later platform config changes do not rewrite that swap’s % fees. The NFT bundle fee is a program constant (0.01 SOL).

## Who pays

* **SOL / USDC / SPL % fees** come out of the escrowed amounts at settlement (counterparties receive the net after fee).
* **NFT bundle SOL fees** are paid by whoever signs `execute_swap` (typically the creator or the counterparty completing the swap). Example: 3 NFTs offered + 2 NFTs requested → **0.02 SOL** (one fee per side).
* Network (gas) fees are separate and paid to Solana validators / priority fees via your wallet.

## Estimates in the UI

The create / summary screen shows an **estimated** breakdown for SOL %, USDC/SPL %, and NFT bundle SOL. Exact amounts follow on-chain math at execute.

## Examples

**SOL both sides** — offer **1 SOL**, request **2 SOL** (25 bps):

* Offering leg fee ≈ `1 × 0.25% = 0.0025 SOL`
* Requesting leg fee ≈ `2 × 0.25% = 0.005 SOL`
* Both under the 0.25 SOL cap

**NFTs both sides** — offer 3 NFTs, request 2 NFTs:

* NFT fees = **0.02 SOL** total (0.01 × 2 sides), paid by the executor

**NFTs + USDC** — offer 3 NFTs, request USDC only:

* NFT fee = **0.01 SOL** (offering side) + USDC bps on the requested amount (capped at 0.25 USDC per leg)

**Large USDC** — offer **101 USDC** (25 bps):

* Uncapped fee would be 0.2525 USDC → **clamped to 0.25 USDC**


---

# 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/platform-guide/fees.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.
