Skip to main content

QpInboundMessage

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.

Fields

§wallet: String
§timestamp: String
§nonce: u64
§signature: String
§

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.

Fields

§wallet: String
§timestamp: String
§nonce: u64
§signature: String
§

IndicativeQuoteUpdate

Periodic indicative quote update.

Fields

§

RfqResponse

Firm quote response to an RFQ.

Fields

§rfq_id: String
§action: String

“quote” or “decline”.

§net_premium: Option<String>
§valid_for_ms: Option<u64>
§signature: Option<String>
§nonce: Option<u64>