Module jupiter_ultra

Source
Expand description

JupiterUltraDex

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

  1. Fetching an Ultra order from Jupiter.
  2. Decoding and signing the transaction.
  3. Serializing and executing the signed order via Jupiter Ultra.
  4. Returning the swap result as SwapResult.

Structs§

JupiterUltraDex

Type Aliases§

DefaultJupiterUltraDex