execute_bridge
Simulate cross-chain bridge transactions for USDC across blockchain networks, generating transaction data for Ethereum, Solana, Sui, and Cosmos chains. Specify source and destination chains, tokens, amounts, and recipient addresses.
Instructions
Execute a bridge transaction (simulation only - returns transaction data)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | Yes | Amount to bridge in smallest unit | |
fromChainId | Yes | Source chain ID | |
fromToken | Yes | ||
memo | No | Memo for Cosmos chains (optional) | |
recipientAddress | Yes | Recipient address on destination chain | |
slippageBps | No | Slippage tolerance in basis points | |
toChainId | Yes | Destination chain ID | |
toToken | Yes | ||
userAddress | Yes | User address initiating the transaction |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"amount": {
"description": "Amount to bridge in smallest unit",
"type": "string"
},
"fromChainId": {
"description": "Source chain ID",
"oneOf": [
{
"type": "number"
},
{
"type": "string"
}
]
},
"fromToken": {
"properties": {
"address": {
"type": "string"
},
"chainId": {
"oneOf": [
{
"type": "number"
},
{
"type": "string"
}
]
},
"decimals": {
"type": "number"
},
"isNative": {
"type": "boolean"
},
"logoURI": {
"type": "string"
},
"name": {
"type": "string"
},
"symbol": {
"type": "string"
}
},
"required": [
"address",
"chainId",
"symbol",
"name",
"decimals"
],
"type": "object"
},
"memo": {
"description": "Memo for Cosmos chains (optional)",
"type": "string"
},
"recipientAddress": {
"description": "Recipient address on destination chain",
"type": "string"
},
"slippageBps": {
"default": 100,
"description": "Slippage tolerance in basis points",
"type": "number"
},
"toChainId": {
"description": "Destination chain ID",
"oneOf": [
{
"type": "number"
},
{
"type": "string"
}
]
},
"toToken": {
"properties": {
"address": {
"type": "string"
},
"chainId": {
"oneOf": [
{
"type": "number"
},
{
"type": "string"
}
]
},
"decimals": {
"type": "number"
},
"isNative": {
"type": "boolean"
},
"logoURI": {
"type": "string"
},
"name": {
"type": "string"
},
"symbol": {
"type": "string"
}
},
"required": [
"address",
"chainId",
"symbol",
"name",
"decimals"
],
"type": "object"
},
"userAddress": {
"description": "User address initiating the transaction",
"type": "string"
}
},
"required": [
"fromChainId",
"toChainId",
"fromToken",
"toToken",
"amount",
"recipientAddress",
"userAddress"
],
"type": "object"
}