Skip to main content

IBridgeConfig

Git Source

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

NameTypeDescription
inputTokenaddressThe token being sent from the source chain.
foreignChainIduint256The destination chain ID.
outputTokenaddressThe token being received on the destination chain.

Returns

NameTypeDescription
<none>boolTrue if the route is supported, false otherwise.