Swaps
How pricing works
BlankFX uses oracle-anchored pricing for FX swaps. Instead of deriving the rate from pool ratios, the protocol reads the current FX rate from on-chain oracles and applies a small spread. This means:- The rate you see is close to the oracle mid-rate
- Large trades don’t cause significant price impact
- The execution path is selected for best price
Swap types
The protocol routes your trade automatically based on the tokens involved:
You don’t need to think about routing. The interface selects the optimal path automatically.
USD Hub swaps
Swaps between USD-denominated stablecoins (USDC, USDT, RLUSD) happen inside the USD Hub. These are essentially 1:1 swaps with a minimal spread, since all tokens represent the same underlying currency.Cross-currency swaps
When you swap between different currencies (e.g. USDC to EURC), the protocol:- Takes your input token into the USD Hub
- Reads the EUR/USD oracle rate
- Calculates the output amount minus spread
- Sends the output token from the EUR Pool to your wallet
Gasless swaps
BlankFX supports gasless execution. Instead of submitting an on-chain transaction yourself, you sign an off-chain message and the relay service submits it for you. The gas cost is built into the swap spread, so you never see a separate gas charge. From your perspective: quote, confirm, receive tokens. Requirements for gasless swaps:- One-time token approval to the Permit2 contract (this is an on-chain transaction that costs gas)
- After that, all swaps are gasless via the BlankFXRelayRouter