Skip to main content

Crate wp_solana_jupiter_swap_client

Crate wp_solana_jupiter_swap_client 

Source
Expand description

Jupiter swap API client.

Provides async methods for quoting and executing token swaps via the Jupiter aggregator REST API.

Modules§

quote
Quote data structures for requesting a swap price and handling the response. This is typically used by a DeFi routing or aggregation service on Solana.
route_plan_with_metadata
serde_helpers
swap
transaction_config

Structs§

JupiterSwapApiClient
HTTP client for the Jupiter swap API.

Enums§

ClientError
Errors produced by the Jupiter swap client.

Constants§

DEFAULT_API_BASE_URL
Default Jupiter API base URL