Type Alias QpInboundMessage
pub type QpInboundMessage = QpClientMessage;Expand description
Backwards-compatible names for API-side code.
Aliased Type§
pub enum QpInboundMessage {
ConnectQuoteProvider {
wallet: String,
timestamp: String,
nonce: u64,
signature: String,
},
GatewayResumeQuoteProvider {
wallet: String,
timestamp: String,
nonce: u64,
signature: String,
},
IndicativeQuoteUpdate {
quotes: Vec<IndicativeQuote>,
},
RfqResponse {
rfq_id: String,
action: String,
legs: Option<Vec<QpResponseLeg>>,
net_premium: Option<String>,
valid_for_ms: Option<u64>,
signature: Option<String>,
nonce: Option<u64>,
},
}Variants§
ConnectQuoteProvider
First frame for direct QP connections.
GatewayResumeQuoteProvider
First frame for trusted gateway reconnects.
This is a reserved internal-gateway frame until the API gateway auth boundary is wired. Public QP clients must not send it directly.
IndicativeQuoteUpdate
Periodic indicative quote update.
Fields
§
quotes: Vec<IndicativeQuote>RfqResponse
Firm quote response to an RFQ.