# Swap NFTs in the same collection

The protocol allows users to swap their NFTs for a randomly selected NFT from a target collection. The protocol utilizes Chainlink's verifiable random function (VRF) to provide a secure and transparent method for selecting the random NFT. It is designed to allow users to trade and access a diverse range of NFTs, while also providing a new way for NFT holders to monetize their assets.

<figure><img src="https://lh5.googleusercontent.com/djyIRBEL9oeFv7QL9sSjN46R3kxa8_32fcacWSF9111VCH6IkjBcg8igIWtnV3L0LczvacAYGd76C550dfPweId071B5c95NMdv_FCfDU3XAyK4PJ1tUvpWEt8qgtDRPJY3gAXqYIPeYYxPTTUFy_bywBQ4JfpWp8gordY6ZOFieQSQ1ZQTQax6Qli8oXg" alt=""><figcaption></figcaption></figure>


---

# 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://doc.fracton.cool/fractonxs-solutions/overview/swap-nfts-in-the-same-collection.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.
