IBridgeConfig
Functions
isRouteSupported
Returns whether a bridge transfer route is supported for the associated bridge.
function isRouteSupported(address inputToken, uint256 foreignChainId, address outputToken)
external
view
returns (bool);
Parameters
| Name | Type | Description |
|---|---|---|
inputToken | address | The token being sent from the source chain. |
foreignChainId | uint256 | The destination chain ID. |
outputToken | address | The token being received on the destination chain. |
Returns
| Name | Type | Description |
|---|---|---|
<none> | bool | True if the route is supported, false otherwise. |