# SWAP

<figure><img src="https://3232894890-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtncD12dXongtAehDw6AA%2Fuploads%2FoTEm1QO640nIo7KfSukx%2Fimage.png?alt=media&#x26;token=b916850c-3a69-435d-9184-286c7de0e181" alt=""><figcaption></figcaption></figure>

## Overview

Based on the SWAP pool conditions, users must input {n} NFT's to randomly receive 1 reward NFT from the pool.

## Details

#### <mark style="color:green;">SWAP frequency</mark>

Each pool is created with the number of swaps set to one of three values:

* Unlimited: you can swap without any restrictions
* Time-limited: available no more than {n} times within {n} days. After {n} days, the number of swaps will be reset and available again.
* Account limit: No more than {n} total swaps per wallet.

#### <mark style="color:green;">Requirement NFT</mark>

* The type of NFTs that the user is required to input to make a swap is specified in each pool.&#x20;
* The input NFTs can be from multiple collections. They can either be "essential" or "optional".&#x20;
* The Token ID of each input NFT is assigned a score, and the total score that needs to be met for the swap is fixed.&#x20;
* The score of an input NFT is determined independently for each pool.&#x20;
  * e.g. NFT A in SWAP pool 1 may have a score of 1, but may have a score of 2 in SWAP pool 2.&#x20;
* Input NFTs may require a specific level. (see [NFT Staking](https://docs.marblex.io/guide/mbx-nft/nft-staking/leveling-up-nfts))
* MARBLEX NFTs used as SWAP pool ingredients are burned.

#### <mark style="color:green;">Reward NFT</mark>

If the total score of the input NFTs meets the SWAP condition of the pool, users are eligible for swapping and will randomly receive 1 reward NFT from the pool.

#### &#x20;<mark style="color:green;">SWAP Requirements</mark>

The processing stage of the SWAP pool handles the execution of information, including SWAP requirements and NFTs submitted by users.
