Why this route won — and what it beat
robyn_why_this_routeReturns the full routing decision: every rail that quoted, what each would deliver, the margin the winner won by, and which rails stayed SILENT and why. Signed, so you can archive the rationale. CHECK wasCompetitive BEFORE TELLING A USER THE PRICE IS GOOD. If it is false, exactly one rail answered and "best" means "only" — it did not beat anything. Rails in silentRails did NOT lose; they failed to answer (down, rate-limited, missing credentials). Never describe them as more expensive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| toChain | Yes | ||
| toToken | No | ||
| fromChain | Yes | ||
| fromToken | No | ||
| toAddress | No |