XY Finance
  • Getting Started
  • XY Token
  • Supported Blockchains/Bridges/DEXs
  • Fee Structure
    • šŸŒ‰yBridge Fee Information
    • šŸŒ‰(Legacy) XY Bridge Fee Information
  • products
    • Bridge Aggregator : XY Finance
      • Gasless Transaction
    • Bridge : yBridge
      • Yield Farming
      • Omnichain Settlement
      • Consensus
    • Refuel
    • Proxy Bridge
    • Cross Chain Infrastructure
  • Bridge Aggregator Integration
    • XY Finance API (Multiple Bridges Aggregator)
      • 1ļøāƒ£Get Quote
      • 2ļøāƒ£Get Allowance
      • 3ļøāƒ£Build Approval Transaction
      • 4ļøāƒ£Build Swap Transaction
      • 5ļøāƒ£Get Cross-Chain Status
      • 6ļøāƒ£Get MinimumSwapAmount
      • āœ”ļøRecommended Tokens
      • āœ…Supported Blockchains/Bridges/DEXs
      • šŸ“©Error Message
      • šŸ’°Monetization / Take Fees
      • šŸ“„Change Log
    • XY Finance Widget (iframe)
      • (Legacy) XY Finance Widget (iframe)
    • XY Finance Widget (NPM)
      • 1ļøāƒ£Install the Widget
      • 2ļøāƒ£Configure the Widget
      • 3ļøāƒ£Customize the Theme
      • šŸ“˜Widget API Reference
      • šŸ“„Change Log
    • Custom-Built Link
    • Token Listing
  • Single Bridge Integration
    • yBridge API
      • 1ļøāƒ£Get Quote
      • 2ļøāƒ£Get Allowance
      • 3ļøāƒ£Build Approval Transaction
      • 4ļøāƒ£Build Swap Transaction
      • 5ļøāƒ£Get Cross-Chain Status
      • 🚰Get Pool Liquidity
      • šŸ’²Get Fee Structure
      • āœ”ļøRecommended Tokens
      • āœ…Supported Blockchains
      • šŸ“©Error Message
      • šŸ“„Change Log
    • yBridge Contract Integration
      • Integrate YBridge Contract
        • Bridge Example
        • Latest Upgrade ( 2024/07/17 )
        • Migrate from V2 to V3
      • Integrate YBridgeVault Contract
        • Maximum Available Liquidity
        • Migrate from V2 to V3
      • (Legacy) Integrate X Swap Contract
        • (Legacy) Bridge Example
      • (Legacy) Integrate Y Pool Contract
        • (Legacy) Maximum Available Liquidity
    • xAsset Bridge
      • How to Develop Under XY Standards
        • Function Interface for Token Contract
      • How to Deposit / Withdraw Liquidity
        • Direct Contract Interaction
        • Through the Explorer
      • Set up Your Own Validator
  • SMART CONTRACT
    • Addresses
      • Ethereum (chain id : 1)
      • BNB Chain (chain id : 56)
      • Polygon (chain id : 137)
      • Cronos (chain id : 25)
      • Avalanche (chain id : 43144)
      • Kucoin Community Chain (chain id : 321)
      • Arbitrum (chain id : 42161)
      • Optimism (chain id : 10)
      • Astar (chain id : 592)
      • Kaia (chain id : 8217)
      • zkSync Era (chain id : 324)
      • Polygon zkEVM ( chainid : 1101)
      • Linea (chain id : 59144)
      • Base (chain id : 8453)
      • Mantle ( chain id : 5000)
      • Scroll (chain id : 534352 )
      • Blast (chain id : 81457)
      • X Layer (chain id : 196)
      • Taiko (chain id : 167000)
      • Cronos zkEVM (chain id : 388)
      • Abstract (chain id : 2741)
      • Berachain (chain id : 80094)
      • Numbers (chain id : 10507)
      • Treasury
      • (Suspended)Fantom
      • (Suspended)ThunderCore
      • (Suspended)Moonriver
    • Audit Reports
    • Privileged Roles Management
  • Document
    • Terms of Use
    • AML and CFT Compliance Statement
    • Integration Terms and Brand Guidelines
    • Product Update
  • FAQ
    • How to Speed up Pending Transactions
    • How to add a custom RPC to my wallet
  • Contact Us
    • Telegram
    • Medium
    • Twitter
    • Discord
Powered by GitBook
On this page
  • How is the bridge fee calculated?
  • How much does the fee cost?
  • General Cross-Chain
  • xAsset Bridge

Was this helpful?

  1. Fee Structure

(Legacy) XY Bridge Fee Information

How is the bridge fee calculated?

Users are able to roughly estimate the cost of a transaction depending on the formulae given below as reference.

  • A small portion of fees is taken as a basic commission. Note that one can imagine the feeRate in the formula below as a constant, or a percentage figure by which any transaction amount (trading volume) should multiply, usually determined by XY DAO.

BridgeFee=Amountāˆ—feeRateBridgeFee = Amount *feeRateBridgeFee=Amountāˆ—feeRate
  • There are lower bound and upper bound in the Fee Structure to ensure that XY Finance can afford gas fees and will not impose any surcharges upon users.

{BridgeFee=minimumFee,minimumFee>BridgeFeeBridgeFee=Amountā‹…feeRate,minFee<BridgeFee<maximumFeeBridgeFee=maximumFee,BridgeFee>maximumFee\begin{equation} \left\{ \begin{array}{lr} BridgeFee=minimumFee, & minimumFee > BridgeFee \\ BridgeFee=Amount \cdot feeRate, & minFee < BridgeFee < maximumFee\\ BridgeFee=maximumFee, & BridgeFee > maximumFee \\ \end{array} \right. \end{equation}\notagāŽ©āŽØāŽ§ā€‹BridgeFee=minimumFee,BridgeFee=Amountā‹…feeRate,BridgeFee=maximumFee,​minimumFee>BridgeFeeminFee<BridgeFee<maximumFeeBridgeFee>maximumFee​​​

If the trading volume multiplied by feeRate is less than the minimumFee, then XY Finance will still charge the minimumFee as a basic commission.

If the trading volume multiplied by feeRate is more than the maximumFee, then XY Finance will only charge the maximumFee as a basic commission.

feeRate, minimumFee & maximumFee are determined by XYDAO.

How much does the fee cost?

General Cross-Chain

When you perform cross-chain transactions of your assets through mainstream token pools (e.g., USDC/USDT/ETH), the following fees will be charged:

  • feeRate: 0.050% - 0.400%

  • maximumFee : $1,000

  • minimumFee: The following value represent reference minimumFee for different chains; however, it is important to note that the actual prices may be subject to adjustment based on market conditions:

    • Ethereum: $15

    • Avalanche, Cronos, BNB Chain, Optimism, Arbitrum, zkSync Era, Polygon zkEVM, Linea, Base, Mantle, Scroll: $0.4 - $1.5

    • Others: $0.1 - $0.19

xAsset Bridge

The xAsset Bridge helps projects deploy their tokens onto different chains. When you perform cross-chain transactions involving these specific protocol tokens (e.g., XY/NUM), the following fees will be charged:

  • feeRate: 0.1%

  • maximumFee: $1,000

  • minimumFee: The following values represent the reference minimumFee ranges for different chains. However, it is important to note that actual prices may be subject to adjustment based on market conditions.

    • Ethereum: $22.5

    • Avalanche, Cronos, BNB Chain, Optimism, Arbitrum, zkSync Era, Polygon zkEVM, Linea, Base, Mantle: $0.6 - $1.35

    • Others: $0.15 - $0.285

Please note that bridge fees are subject to change based on fluctuations in the market gas price. If you are interested in integrating our service and would like to know the current actual price, please feel free to contact us.

PreviousyBridge Fee InformationNextBridge Aggregator : XY Finance

Last updated 1 year ago

Was this helpful?

šŸŒ‰