# Protocol

### Cross-Chain Fees

At CrowdSwap, we believe in transparency and fairness, which extends to our fee structure for the Cross-Chain feature. CrowdSwap charges a nominal fee for each trade to facilitate the transaction and maintain the platform. The fee is a small percentage of the transaction amount, ensuring it remains affordable for all users.\
The transaction fee consists of:

1. Flat Protocol Fee
2. Variable Protocol Fee
3. CrowdSwap Fee

| Chain     | Flat Protocol Fee | Variable Protocol Fee       | CrowdSwap Fee          |
| --------- | ----------------- | --------------------------- | ---------------------- |
| Ethereum  | 0.001 ETH         | 0.04% - 0.08% of the amount | 0.2%- 1% of the amount |
| BSC       | 0.005 BNB         | 0.04% - 0.08% of the amount | 0.2%- 1% of the amount |
| Polygon   | 0.5 MATIC         | 0.04% - 0.08% of the amount | 0.2%- 1% of the amount |
| Avalanche | 0.01 AVAX         | 0.04% - 0.08% of the amount | 0.2%- 1% of the amount |
| Arbitrum  | 0.001 ETH         | 0.04% - 0.08% of the amount | 0.2%- 1% of the amount |
| Optimism  | 0.001 ETH         | 0.04% - 0.08% of the amount | 0.2%- 1% of the amount |

### Swap Fees/Estimation calculation

The price of source and destination tokens in USD is inquired from coingecko or Binance APIs.\
The fee of each DEX and network cost are inquired from that DEX. Crowdswap fee is calculated as 0.1% of source price in USD.\
All fees are deducted from destination amount except liquidity provider fee which is deducted from source token amount.

###

![](/files/AYceFUTeNxraoYhMe5ZT)

* Gas Price: <https://ethgasstation.info/>
* Gas Cost: Historical gas usage of functions in the target DEX
* Amount In USD: source token amount \* source token price in USD

###

For example, by selecting ETH as source token and AUC as destination token, you can see fees are calculated based on data from estimation.\
Keep in mind that by clicking swap button, a new estimation will be performed based on the best price DEX.

![](/files/sY9q6pHUsQjvnZdDpOwe)

### Supported Networks and DEXes (current state)

* **Ethereum Network**
  * Uniswap V2
  * Uniswap V3
  * Sushiswap
  * Bancor
  * Balancer
  * Kyber
  * Crypto.com
  * Curve v1
  * Radioshack
  * Dodo

####

* **BSC Network**
  * Pancake
  * Sushiswap
  * Apeswap
  * Biswap
  * Curve v1
  * Radioshack
  * Dodo

####

* **Polygon Network**
  * Quickswap
  * Sushiswap
  * Uniswap V3
  * Apeswap
  * Curve v1
  * Radioshack

####

* **Avalanche Network**
  * Trader Joe
  * Sushiswap
  * Curve v1
  * Radioshack
  * Pangolin
  * Dodo

### Contracts

* Token:
  * Polygon: [0x483dd3425278C1f79F377f1034d9d2CaE55648B6](https://polygonscan.com/token/0x483dd3425278C1f79F377f1034d9d2CaE55648B6)
  * Ethereum: [0xeDCC68Cc8b6Ec3eDE0979f8A52835b238A272027](https://etherscan.io/address/0xedcc68cc8b6ec3ede0979f8a52835b238a272027)
  * Arbitrum: : [0x250Caff618cf205997309940c14C52B5DcEb351E](https://arbiscan.io/address/0x250caff618cf205997309940c14c52b5dceb351e)
  * BSC: [0xA5d4B64a639d93b660cdA04D331374dA1108F8f5](https://bscscan.com/address/0xa5d4b64a639d93b660cda04d331374da1108f8f5)
  * BASE: [0x9e2C392c0B3D75824D735Cb57719AA3B794D1Eb0](https://basescan.org/address/0x9e2C392c0B3D75824D735Cb57719AA3B794D1Eb0)
  * Optimism: [0xBeDf619c69f5C1655E58463B85A4EE67629dE409](https://optimistic.etherscan.io/address/0xbedf619c69f5c1655e58463b85a4ee67629de409)
  * Avalanche: [0x5032fB113dBe54037825d7059740314edE131004](https://snowtrace.io/address/0x5032fB113dBe54037825d7059740314edE131004)
  * zkSync: [0x405a7426277C288E963a9B6Ab2c9E5E6C4b5f05C](https://explorer.zksync.io/address/0x405a7426277C288E963a9B6Ab2c9E5E6C4b5f05C)


---

# 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.crowdswap.org/core-concepts/protocol.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.
