openzeppelin_relayer::servicesTrait JupiterServiceTrait
Source pub trait JupiterServiceTrait: Send + Sync {
// Required methods
fn get_quote<'life0, 'async_trait>(
&'life0 self,
request: QuoteRequest,
) -> Pin<Box<dyn Future<Output = Result<QuoteResponse>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_sol_to_token_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
input_mint: &'life1 str,
amount: u64,
slippage: f32,
) -> Pin<Box<dyn Future<Output = Result<QuoteResponse>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}