Cross-chain x402 quote
x402_cross_chain_quoteDry-run plan for paying any x402 endpoint from the other chain: fetch the 402, read the wallet's balances on Base and Robinhood Chain, and quote the Relay bridge for only the shortfall. Read-only — no key, no signature, nothing moves. Works for the USD stablecoins (USDG on Robinhood Chain, USDC on Base); a POLYDASH-only endpoint cannot cross-chain.
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": {
"url": "<url>",
"from": "<from>"
},
"name": "x402_cross_chain_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The x402 URL to pay — it must return a 402 payment challenge. | |
| from | Yes | The wallet address that will sign (0x...). Never a private key. Omit it when a walletToken is passed — the wallet is resolved from the token instead. |