get_relay_app_url
Generates a deep link to the Relay web app with pre-filled bridge or swap parameters, allowing users to start a new transaction via the Relay UI.
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 |
|---|---|---|---|
| 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. | |
| toCurrency | No | Destination token address. For native tokens use: EVM "0x0000000000000000000000000000000000000000", Solana "11111111111111111111111111111111", Bitcoin "bc1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqmql8k8", Hyperliquid "0x00000000000000000000000000000000", Lighter "0". For other tokens, use the contract/mint address or look up via get_supported_tokens. | |
| fromChainId | No | Origin chain (ID or name). If omitted, user picks in the UI. | |
| fromCurrency | No | Origin token address. For native tokens use: EVM "0x0000000000000000000000000000000000000000", Solana "11111111111111111111111111111111", Bitcoin "bc1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqmql8k8", Hyperliquid "0x00000000000000000000000000000000", Lighter "0". For other tokens, use the contract/mint address or look up via get_supported_tokens. | |
| destinationChainId | Yes | Destination chain (ID or name like 'base', 'ethereum'). This determines the Relay app page. |