Estimate Bridge Fee

This API can be called with a Global Token. Estimates the total bridge fee for the given bridgeTunnelIdx and amount.

Fee types

source

FieldMeaning
transactionFeeSource-chain gas fee (in the source platform coin). Sum of the approve and source bridge steps.
bridgeNativeFeeNative fee the bridge protocol receives via msg.value (in the source platform coin), e.g. the LayerZero/Wormhole/Stargate messaging fee. Currently 0 for CCTP.
bridgeTokenFeeFee the bridge protocol deducts from the bridged token (in the bridge coin), e.g. the CCTP v2 maxFee or Stargate LP fee. It is deducted on the source side, so the destination receives less. Currently 0 for CCTP.

destination

FieldMeaning
transactionFeeDestination-chain gas fee (in the destination platform coin): the cost of the finalizing transaction, such as receiveMessage. 0 if the tunnel has no destination step. There is no bridge protocol fee on the destination side; all protocol fees are charged on the source side.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
number
required

Wallet index

Query Params
number
required

idx of the bridge tunnel to estimate the fee for, as returned by the Get Bridge Tunnel List API.

string
required

Amount of the source coin to bridge, as a decimal string. Required because the estimate may vary with the amount for some protocols.

string
required

Sending address

string
required

Receiving address. Must be a main address on the destination platform in the same account.

Headers
string
required
Defaults to Bearer

API token

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json