getAcrossFeeQuote
Calculate cross-chain bridging fees using the Across Protocol REST API by specifying token details, chains, and recipient for accurate fee quotes.
Instructions
Fetches a suggested fee quote for a cross-chain asset bridge using the Across Protocol REST API.
Input 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. |