> For the complete documentation index, see [llms.txt](https://taro-wallet.gitbook.io/taro-wallet/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://taro-wallet.gitbook.io/taro-wallet/fee-structure.md).

# Fee structure

<figure><img src="/files/oG1xtlignZvBTWc3G8qN" alt=""><figcaption></figcaption></figure>

On chain fee is set by operators of Tiramisu manually so that on-chain operations complete in one block.

## Exchange fee

Exchange fee is charged for every exchange operation that a user makes on Tiramisu be it an LP sale / purchase or a listing sale or purchase. The fee is always incurred by the person who initiated the operation.

Fees on exchange operations are used to compensate the owner/minter or the coin that is exchanged as well as limit the number of transactions that happen on Tiramisu.&#x20;

Here is the formula that is used:

```
fee = (max(3, 0.03 * amount)) SAT
```

The amount is rounded down.

For example a fee for an exchange of 5 AC at a rate of 5000 SATs / AC would be (max(3, 0.03 \* amount)) = (max(3, 0.03 \* 5 \* 5000)) = 750 SAT

A fee for an exchange of 30 Maxi at a rate of 0.03 SATs / Maxi would be (max(3, 0.03 \* 30 \* 0.03)) = 3 SAT

## Withdrawal fee

Every time a user withdraws funds from Tiramisu they are charged a fee. The fee is intended to compensate Tiramisu for the onchain transaction fee as well as other operations required such as lightning channel opening and closing costs.&#x20;

### [Bitcoin onchain withdrawal](https://mainnet.tiramisuwallet.com/walletapp/transactions/send_btc/) fee

This is a fee charged after a Bitcoin onchain withdrawal. The fee is calculated as follows:

```
fee = (max(20, 0.005 * amount) + onchain_fee) SAT
```

### [Bitcoin lightning withdrawal](https://mainnet.tiramisuwallet.com/walletapp/transactions/send_btc_lnd/) fee&#x20;

This is a fee charged after a Bitcoin lightning withdrawal. The fee is calculated as follows:

```
fee = (max(20, 0.005 * amount) + onchain_fee) SAT
```

### [Taproot Asset onchain withdrawal ](https://mainnet.tiramisuwallet.com/walletapp/transactions/send_taro/)fee&#x20;

This is a fee charged after a taproot asses onchain withdrawal. The fee is calculated as follows:

```
fee = (max(10, 2 * onchain_fee)) SAT
```

## Minting fee

### [Single Asset minting](https://mainnet.tiramisuwallet.com/walletapp/currencies/mint/) fee

Minting fee pays for onchain fees associated with minting and the logistics associated with moving those funds.

```
fee = 2 * onchain_fee SAT
```

### [Bulk NFT Asset minting](https://mainnet.tiramisuwallet.com/walletapp/currencies/mint-nft-collection/) fee

In bulk NFT minting fee is divided among multiple assets that were minted using the following formula.

```
fee = (2 * onchain_fee / (#NFTs) + 1) SAT / NFT
```
