# Auctions

You can auction single NFTs with Candy Shop. We support auctions in either SOL or custom SPL token.&#x20;

Shop owners can specify the following auction parameters:

* Starting bid
* Minimum bid increment
* Buy now price
* Bidding period
* Start date and time

### How It Works

* Users connect their wallet to place a bid
* Highest bidder cannot bid higher
* If outbid, users have to claim their previous bid to have their tokens returned to their wallet

&#x20;    ![](/files/6tx0AhheiKXc8ep3WOC3)

* When auction closes, the NFT will be automatically transferred to the highest bidder

### **Create Auction**

You can create an auction in My Shop. You can also use the Create Auctions component to create an auction on your Candy Shop.

Note that only shop owners can create auctions. For the same reason, shop owners do not need to whitelist the NFT to be able to auction it.

```tsx
<CreateAuction
  candyShop={candyShop}
  wallet={wallet}
  walletConnectComponent={<WalletMultiButton />}
  cacheUserNFT={true}
/>
```

![](/files/waTQUcokM12TSBkngVVf)

### **Display Auctions**

Use the Auctions component to display auctions from your Candy Shop and let users bid on them.

```tsx
<Auctions 
  candyShop={candyShop}
  wallet={wallet} 
  walletConnectComponent={<WalletMultiButton />} 
/>
```

![](/files/eAoF4ANZhNQ5iwtPJnLo)

### ⚠️ Solana Transaction Size Limit ⚠️

Due to Solana's transaction size limit, Candy Shop can only support NFT auctions in custom SPL tokens with maximum 2 creators.

### ⚠️ Royalty constraint ⚠️

Due to the Metaplex auction house implementation, please avoid committing NFTs with seller fee basis point = 10000 (i.e. 100% royalty fees) into Auction. Your Auctioned NFT will likely be stuck in the contract for that reason.


---

# 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://liqnft.gitbook.io/docs/sdk-for-developers/solana/auctions.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.
