get_cross_chain_bridge_quote
Fetch a Relay quote with fee breakdown and unsigned steps. Never signs or broadcasts; missing sender creates a preview. Always show executeUrl to the user for 1-click browser wallet signing.
Instructions
Fetch a Relay quote with fee breakdown and unsigned steps. Never signs or broadcasts; missing sender creates a preview. Always show executeUrl to the user for 1-click browser wallet signing.
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": {
"fromChain": "<fromChain>",
"toChain": "<toChain>",
"amount": "<amount>"
},
"name": "get_cross_chain_bridge_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Positive human-readable source-token amount as a decimal string; no exponent notation. Use strings to preserve precision. | |
| toChain | Yes | Supported chain slug, alias or numeric chain ID as a string (for example base, arb, solana, 8453). | |
| toToken | No | Destination token symbol, native, or raw contract/mint address. | |
| fromChain | Yes | Supported chain slug, alias or numeric chain ID as a string (for example base, arb, solana, 8453). | |
| fromToken | No | Source token symbol such as ETH, USDC or native; amounts are denominated in this token. | |
| slippageBps | No | Maximum slippage in basis points: 50 means 0.50%. Omit for Relay automatic tolerance. | |
| userAddress | No | Real sender address on the source chain. Omit only for a read-only preview that cannot be executed. | |
| toTokenDecimals | No | Required decimal precision for an unregistered raw destination token address. | |
| recipientAddress | No | Destination wallet address, matching the destination chain VM. Verify the platform wallet before onboarding. | |
| fromTokenDecimals | No | Required decimal precision for an unregistered raw source token address. |