checkIfPathwayExist · Check Bridge Pathway
may change things: you confirm before it runsCheck if a pathway exists for a cross-chain action
Input schema
{
"type": "object",
"properties": {
"srcUserAddress": {
"type": "string",
"description": "The wallet address of the user on the source chain"
},
"dstUserAddress": {
"type": "string",
"description": "The wallet address of the user on the destination chain"
},
"srcChain": {
"type": "string",
"enum": [
"ethereum",
"optimism",
"bsc",
"gnosis",
"polygon",
"sonic",
"zksync",
"base",
"avalanche",
"arbitrum",
"scroll",
"solana",
"ton",
"hyperevm",
"plasma",
"monad",
"robinhood"
],
"description": "The source chain of the token to bridge"
},
"srcChainToken": {
"type": "string",
"description": "The address of the token to bridge"
},
"dstChain": {
"type": "string",
"enum": [
"ethereum",
"optimism",
"bsc",
"gnosis",
"polygon",
"sonic",
"zksync",
"base",
"avalanche",
"arbitrum",
"scroll",
"solana",
"ton",
"hyperevm",
"plasma",
"monad",
"robinhood"
],
"description": "The destination chain to bridge the token to"
},
"dstChainToken": {
"type": "string",
"description": "The address of the token on the destination chain"
}
},
"required": [
"srcUserAddress",
"dstUserAddress",
"srcChain",
"srcChainToken",
"dstChain",
"dstChainToken"
],
"additionalProperties": false
}