get
https://api.testnet.octet.im/2.0/wallets//bridges/estimate-fee
This API can be called with a Global Token. Estimates the total bridge fee for the given bridgeTunnelIdx and amount.
Fee types
source
| Field | Meaning |
|---|---|
transactionFee | Source-chain gas fee (in the source platform coin). Sum of the approve and source bridge steps. |
bridgeNativeFee | Native 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. |
bridgeTokenFee | Fee 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
| Field | Meaning |
|---|---|
transactionFee | Destination-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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…