Fee Estimation for Bridge Order

Our API's Fee Estimation for Bridge Order feature is designed to provide users with an accurate estimate of the fees for their planned bridging transaction. Once the source and destination chains, the asset, and the amount are determined, users can utilize this feature to understand the financial implications of their transfer. This estimation is crucial for informed financial planning and decision-making, ensuring users are aware of potential costs.

Requests calculation potential fees for bridging operation from source chain to destination chain for selected assets and amount.

GET /api/bridge/quote

Query Parameters

Name
Type
Description

source_chain*

string

Name of source chain.

destination_chain*

string

Name of destination chain.

asset_from*

string

Name of the asset in source network.

asset_to*

string

Name of the asset in destination network

amount*

string

Amount of asset_from to bridge

wallet_sender

string

User wallet to calculate fee for.

​{
  "message": "string",
  "data": {
    "amount_out": 0, // Amount to receive on destination
    "platform_fee": 0, // Retrobridge fee value
    "platform_fee_in_usd": 0, // Retrobridge fee value in USD
    "blockchain_fee": 0, // Destination gas fee
    "blockchain_fee_in_usd": 0, // Destination gas fee in USD 
    "swap_fee": 0, // Swap fee
    "swap_fee_in_usd": 0, // Swap fee in USD
    "full_fee": 0, // (platform_fee + swap_fee + blockchain_fee)
    "fee_asset": "string" // Asset in which fees are calculated
  }
}​

Last updated