Crate jup_ag

Source

Structs§

FeeInfo
PlatformFee
Price
Quote
QuoteConfig
RoutePlan
Swap
Partially signed transactions required to execute a swap
SwapInfo
SwapInstructions
Swap instructions
SwapRequest

Enums§

Error
The Errors that may occur while using this crate
PrioritizationFeeLamports
SwapMode

Functions§

price
Get simple price for a given input mint, output mint, and amount
quote
Get quote for a given input mint, output mint, and amount
route_map
Returns a hash map, input mint as key and an array of valid output mint as values
swap
Get swap serialized transactions for a quote
swap_instructions
Get swap serialized transaction instructions for a quote

Type Aliases§

Result
A Result alias where the Err case is jup_ag::Error.
RouteMap
Hashmap of possible swap routes from input mint to an array of output mints