User Avatar
Eqh7CF…4YvC@ROOSTRBOD-9
Rank
Gems earned
17
  • User Avatar
    @ROOSTRBOD-9Governance+2•4

    $JUP — A small documentation correction could prevent a 10× input-amount mistake.

    In Jupiter’s “Get Quote (Swap V1)” guide, the example introduces a quote for 1 SOL, but the request uses amount=100000000. With 1 SOL = 1,000,000,000 lamports, that request actually quotes 0.1 SOL. The example response also shows inAmount="100000000".

    Suggestion: either change the introductory text to “0.1 SOL” or update both the request and example response to consistently represent 1 SOL. A short conversion example beside the amount parameter would also help beginners avoid decimal mistakes.

    This concerns the legacy V1 guide, which is marked as superseded by Swap V2. Scope: public documentation review with AI assistance; no wallet transaction or live API test performed.

    Source: https://developers.jup.ag/docs/swap/v1/get-quote