getAcrossFeeQuote
Calculate the fee quote for bridging tokens across chains using the Across Protocol REST API. Specify input/output tokens, chain IDs, amount, and recipient for accurate cost estimation.
Instructions
Fetches a suggested fee quote for a cross-chain asset bridge using the Across Protocol REST API.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount of tokens to bridge (in ether) | |
| destinationChainId | Yes | Chain ID of the destination chain. | |
| inputToken | Yes | The token contract address on the origin chain (e.g., WETH address). | |
| originChainId | Yes | Chain ID where the input token exists. | |
| outputToken | Yes | The token contract address on the destination chain (e.g., corresponding WETH address). | |
| recipient | Yes | Recipient address on the destination chain. |