estimate_bridge_fees
Calculate bridge transaction fees across multiple blockchain networks using source and destination chain IDs, amount, and optional token address.
Instructions
Estimate fees for a bridge transaction
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | Yes | Amount to bridge | |
fromChainId | Yes | Source chain ID | |
toChainId | Yes | Destination chain ID | |
tokenAddress | No | Token address (optional, defaults to USDC) |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"amount": {
"description": "Amount to bridge",
"type": "string"
},
"fromChainId": {
"description": "Source chain ID",
"oneOf": [
{
"type": "number"
},
{
"type": "string"
}
]
},
"toChainId": {
"description": "Destination chain ID",
"oneOf": [
{
"type": "number"
},
{
"type": "string"
}
]
},
"tokenAddress": {
"description": "Token address (optional, defaults to USDC)",
"type": "string"
}
},
"required": [
"fromChainId",
"toChainId",
"amount"
],
"type": "object"
}