getAcrossFeeQuote
Fetch suggested fee quotes for cross-chain asset bridging using the Across Protocol. Calculate costs for transferring tokens between different blockchain networks.
Instructions
Fetches a suggested fee quote for a cross-chain asset bridge using the Across Protocol REST API.
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": {
"inputToken": "<inputToken>",
"outputToken": "<outputToken>",
"originChainId": "<originChainId>",
"destinationChainId": "<destinationChainId>",
"amount": "<amount>",
"recipient": "<recipient>"
},
"name": "getAcrossFeeQuote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputToken | Yes | The token contract address on the origin chain (e.g., WETH address). | |
| outputToken | Yes | The token contract address on the destination chain (e.g., corresponding WETH address). | |
| originChainId | Yes | Chain ID where the input token exists. | |
| destinationChainId | Yes | Chain ID of the destination chain. | |
| amount | Yes | Amount of tokens to bridge (in ether) | |
| recipient | Yes | Recipient address on the destination chain. |