Wardenswap: reading a quote before your first swap
WardenSwap is a decentralized exchange (DEX) aggregator that uses prices from connected liquidity pools to quote token swaps. For a first swap, read the expected output together with the input amount, token identities, selected network and applicable costs. A quote describes a proposed exchange; it doesn’t establish that the swap has happened.
- Pricing context
- A particular token pair, input amount and network.
- Quote interface
- The published Warden SDK version 2 description includes a JavaScript SDK for retrieving quotes, with swap transactions sent separately.
Identify what each amount measures
The input amount is what you’re proposing to exchange. The expected output is the amount quoted in units of the receiving token. An exchange rate describes the relationship between the assets, while the total output applies that pricing to the chosen input amount.
The network is part of the token’s identity and trading context. WardenSwap’s support for several networks doesn’t, by itself, mean a quote transfers tokens between those networks. If the quoted network or token pair doesn’t match your intended swap, request a matching quote before submitting a transaction.
Liquidity shapes the proposed output
Connected pools supply the liquidity behind WardenSwap’s price search. Their prices and available depth affect the output they can provide for a given input amount. A quote therefore belongs to the requested trade size; a rate shown for another amount doesn’t establish the output for yours.
WardenSwap describes its routing service as Best Rate Swap. That describes its aim of finding favorable pricing across connected pools, rather than a fixed exchange rate you can apply to every trade size.
Separate the output from the charges
The Best Rate platform fee, liquidity-pool fees and network gas describe different costs. A published Warden pool fee isn’t a fee schedule for every connected exchange, and the platform-fee percentage doesn’t establish the gas cost of a transaction. Check which charges the quoted output reflects before treating it as the complete cost of the exchange.
WARDEN Official’s 2021 articles describe several fee arrangements. Their WAD holding thresholds shouldn’t be treated as a current discount schedule.
Wardenswap - Reading a quote before your first swap
- Liquidity shapes the proposed output
- Separate the output from the charges
- What a returned quote establishes
| Parameter | Published value | Documented period | Applicable scope |
|---|---|---|---|
| Best Rate platform fee | 0.1% before any applicable holding-based discount | August 31, 2021 fee-change announcement, effective September 1, 2021 | The Best Rate platform charge under that announced scheme. |
| Launch fee-waiver threshold | At least 10 WAD held | March 15, 2021 launch description | The platform-fee exemption described at launch, not a waiver of every transaction cost. |
| Later blanket fee-waiver threshold | At least 100 WAD held | Described as the previous arrangement in the August 31, 2021 announcement | The earlier platform-fee exemption replaced by the holding-based discount scheme effective September 1, 2021. |
| Revised discount structure | 9 levels based on WAD holdings | Effective September 1, 2021, according to the August 31 announcement | Discounts on the Best Rate platform fee depended on the amount of WAD held. |
| Warden BSC pool fee | 0.30% total, allocated as 0.25 percentage points to liquidity providers and 0.05 percentage points to WardenSwap | September 5, 2021 BSC farming announcement , describing pool fees after the planned farm end on September 11, 2021 | Warden’s BSC liquidity pools; a separate fee from the Best Rate platform charge. |
| A direct quote comparison keeps the network, token identities and input amount fixed, then considers fees and gas on a consistent basis. | |||
What a returned quote establishes
Warden SDK version 2’s JavaScript SDK description separates getting a rate quote from sending the swap transaction. An integration can send that transaction using Web3.js or Ethers.js.
A returned quote supplies proposed pricing at that stage. It doesn’t, on its own, establish that a transaction was submitted or that the receiving balance changed.
Updated on