get_quotes
Read-only Jupiter quote for a token pair (no execution).
amount is in base units of input_token. Returns routes, price impact, fees,
and estimated output. venue_hint
is ADVISORY, never required -- see jupiter_swap.
Pass wallet_address (optional) to preview the DISCOUNTED
technology service fee that wallet will actually pay -- its volume tier plus
$CRANK staker / pay_in_crank / Crank Score discounts. Omit it for the
base rate. This stays a free read either way.
slippage_bps omitted (None) resolves to the published platform default of 50 bps -- unchanged from before; the returned envelope's slippage.applied_source honestly reports "platform_default" in that case rather than falsely claiming "caller".
include_slippage_advisory (default False) adds the venue's own suggested tolerance for this route to the slippage block (suggested_bps / suggestion / advisory_status). Opt-in because it costs one extra venue round trip (~400 ms measured); requires wallet_address. Advisory only -- applied_bps is always exactly what executes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| caller_id | No | ||
| venue_hint | No | ||
| input_token | Yes | ||
| output_token | Yes | ||
| pay_in_crank | No | ||
| slippage_bps | No | ||
| wallet_address | No | ||
| include_slippage_advisory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||