Module jupiter_swap

Source
Expand description

JupiterSwapDex

Implements the DexStrategy trait to perform Solana token swaps via the Jupiter Swap REST API. This module handles:

  1. Fetching a swap quote from Jupiter.
  2. Building the swap transaction.
  3. Decoding and signing the transaction.
  4. Sending the signed transaction on-chain.
  5. Confirming transaction execution.

Structs§

JupiterSwapDex

Type Aliases§

DefaultJupiterSwapDex