get_relay_app_url
Generate a deep link to open the Relay web app with pre-filled bridge or swap parameters, enabling users to start new cross-chain transactions directly in their browser.
Instructions
Generate a deep link to the Relay web app with pre-filled bridge/swap parameters. The user can open this URL in their browser to START a new transaction via the Relay UI. This is NOT a transaction tracking URL — do NOT use it to check on an in-progress transaction. For tracking, use get_transaction_status with the requestId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| destinationChainId | Yes | Destination chain ID (e.g. 8453 for Base). This determines the Relay app page. | |
| fromChainId | No | Origin chain ID (e.g. 1 for Ethereum). If omitted, user picks in the UI. | |
| fromCurrency | No | Origin token address. "0x0000000000000000000000000000000000000000" for native. | |
| toCurrency | No | Destination token address. "0x0000000000000000000000000000000000000000" for native. | |
| amount | No | Pre-filled input amount in human-readable units (e.g. "0.1" for 0.1 ETH). | |
| toAddress | No | Recipient wallet address. | |
| tradeType | No | Trade type. Defaults to EXACT_INPUT. |