# Sale your NFT

Ternoa provides you with many basic and advanced marketplace features. Not only creating an NFT can be done in just a few lines of code but we also cover many marketplace use cases: Ternoa allows you to easily create functions to list for sale, English auction, unlist and NFT, and manage a marketplace.

### What is an NFT Marketplace? Why Auctions?

To sell and buy NFTs, we created the marketplace entity. Each user can create his own marketplace and define rules that apply to who can put on sale, what is the listing (putting on sale) costs and what is the commission fee.

Ternoa also offers different ways to sell an NFT: auctions. Auctions are a type of sale where the NFT seller sets a minimum price they are willing to sell their NFT by defining the time duration. Buyers can place bids with the amount they are willing to pay for the NFT as long as it is above the minimum price. At the end of the period, the NFT is sold to the highest bidder. Auctions are a great way to hype the project or an NFT.

### Marketplace features

<details>

<summary>Creating a marketplace</summary>

* Create a Marketplace on the chain.

</details>

<details>

<summary>Setting the Marketplace Configuration</summary>

Set or Remove the marketplace parameters configuration :

* Commission fee
* Listing fee
* Accounts list
* offchain data
* Collection list

View code

</details>

<details>

<summary>Changing the kind/type of a marketplace</summary>

* Set the new marketplace kind on the chain.

</details>

<details>

<summary>Transferring a marketplace ownership</summary>

* Set the new marketplace owner on the chain.

</details>

<details>

<summary>Listing an NFT</summary>

* List an NFT on a marketplace.
* View code

</details>

<details>

<summary>Unlisting an NFT</summary>

* Unlist an NFT from a marketplace.
* View code

</details>

<details>

<summary>Buying an NFT</summary>

* Buy an NFT on a marketplace.
* View code

</details>

### Auctions features

<details>

<summary>Creating an Auction</summary>

* Create an auction for an NFT
* View code

</details>

<details>

<summary>Cancelling an Auction</summary>

* Cancel an auction for an NFT.
* View code

</details>

<details>

<summary>Ending an Auction</summary>

* End an auction for an NFT
* View code

</details>

<details>

<summary>Adding a Bid</summary>

* The bidder adds a new bid offer.
* View code

</details>

<details>

<summary>Removing a Bid</summary>

* The bidder removes his bid offer.
* View code

</details>

<details>

<summary>Buy it Now</summary>

* The NFT can be directly bought if a buyItPrice was defined and the auction has not started yet.
* View code

</details>

<details>

<summary>Claiming an amount that was bid but did not win the auction</summary>

* Bidders that did not win the auction have to claim back the balance of their bid after the auction ends.

</details>


---

# 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.ternoa.network/build-1/javascript/nft-features-and-pallets/sale-your-nft.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.
