bridge_create_transaction
Create cross-chain bridge transactions to move tokens between networks, generating wallet-ready signing data via WanBridge API.
Instructions
Create a cross-chain bridge transaction using WanBridge API (section 2.2). Returns transaction data ready for wallet signing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fromChain": "<fromChain>",
"toChain": "<toChain>",
"fromToken": "<fromToken>",
"toToken": "<toToken>",
"fromAccount": "<fromAccount>",
"toAccount": "<toAccount>",
"amount": "<amount>"
},
"name": "bridge_create_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to bridge (decimal string, e.g., "100.5") | |
| partner | No | Partner identifier for tracking | vechain-ai-app |
| toChain | Yes | Destination chain type | |
| toToken | Yes | Token address on destination chain | |
| fromChain | Yes | Source chain type (e.g., VET, ETH, BNB) | |
| fromToken | Yes | Token address on source chain (use 0x0000000000000000000000000000000000000000 for native coins) | |
| toAccount | Yes | Recipient address | |
| fromAccount | Yes | Sender address |