Quote a gasless cross-chain route
robyn_quoteBest gasless route to move a token from one Robyn chain to another. Returns estimated output, the bridge used, duration, and the Robyn fee. Read-only — moves nothing. IMPORTANT: check quoteOnly on the response. If it is true the corridor can be PRICED but NOT settled — execute will refuse it with UNSUPPORTED_DIRECTION — so present that quote as a price comparison only and do not tell the user it can be sent. quoteOnlyReason says why. Absent/false means executable.
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>",
"fromToken": "<fromToken>",
"toChain": "<toChain>",
"toToken": "<toToken>",
"amount": "<amount>"
},
"name": "robyn_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | amount in fromToken base units (e.g. "25000000" = 25 USDC) | |
| toChain | Yes | destination chain id, or "stellar" | |
| toToken | Yes | token address / symbol on the destination | |
| fromChain | Yes | source chain id, or "stellar" | |
| fromToken | Yes | token address on the source chain (0x0000…0000 for native) | |
| toAddress | No | recipient on the destination chain | |
| fromAddress | No | sender — determines membership (fee tier) AND whether a free netting path is available between these two accounts |