Request for Quote Protocols
RFQClient
#[async_trait]
pub trait RFQClient: Send + Sync {
fn stream(
&self,
) -> BoxStream<'static, Result<(String, StateSyncMessage<TimestampHeader>), RFQError>>;
async fn request_binding_quote(
&self,
params: &GetAmountOutParams,
) -> Result<SignedQuote, RFQError>;
}State
Encoder + Executor
Last updated
Was this helpful?

