find_best_path
Find the safest EXECUTABLE route to acquire an XRPL token and screen every hop. Unlike quote_amm (one direct AMM pool), this asks the ledger for real payment paths (order books + AMM + multi-hop) and runs the rug-safety engine over every issuer and gateway the route touches — a clean token reached through a hop that can freeze or claw back mid-route is a trap a destination-only check misses. Returns the cheapest route, its effective price, hop count, and a verdict: route_safe | route_caution | route_unsafe | no_route, with the risk on each hop. Pass your account for routes specific to your trustlines, or omit it for an indicative route. Price: $0.006 USDC. Missing something? Call submit_feedback (free) to request it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| to_amount | No | ||
| to_issuer | Yes | ||
| from_issuer | No | ||
| to_currency | Yes | ||
| from_currency | No | XRP |