plan_routes
Plan best routes. Ranks visible orderbook routes for a requested USDC amount using exact per-deposit availability and intent bounds. Returns deterministic single, multi_intent, or partial allocation legs. A generic take link exists only for a currently executable single leg and preserves the requested amount and payment pair. Single-leg routes include exact-pair trailing-30-day execution evidence. Historical execution evidence does not influence ranking until separately backtested and enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum planned routes to return (default: 5, max: 25). | |
| taker | No | Optional taker wallet address. Scopes routes to exact payment-method access available to that wallet. Access-policy provenance is omitted, and a take link is present only when the selected tuple is executable. | |
| currency | No | Filter by fiat currency code (e.g. USD, GBP, EUR). | |
| min_size | No | Minimum USD liquidity per orderbook level (default: 50). | |
| platform | No | Filter by payment platform. May be repeated. | |
| amount_usd | No | Requested USDC amount. Routes that can fill the amount rank above partial routes. |