Crate jup_ag_nova

Crate jup_ag_nova 

Source

Structs§

FeeInfo
MarketInfo
Price
Quote
Response
Generic response with timing information
Swap
Partially signed transactions required to execute a swap
SwapConfig

Enums§

Error
The Errors that may occur while using this crate

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 using SwapConfig defaults
swap_with_config
Get swap serialized transactions 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