Skip to main content

Module messages

Module messages 

Source
Expand description

Wire frames and handler-output message types for Lighter streams.

Structs§

LighterAsset
LighterMarketStats
LighterPoolShares
LighterPosition
LighterSpotMarketStats
LighterTicker
LighterUserStats
Body of the user_stats frame. Top-level equity numbers mirror total_stats; cross_stats reports cross-margin equity only.
LighterUserStatsScoped
Inner shape of the user_stats.stats.cross_stats and .total_stats substructs. Every field is a stringified decimal on the wire and denominated in the deployment settlement currency.
LighterWsCandle
LighterWsOrderBook
LighterWsSendTx
tx_info is carried as Box<RawValue> so the typed-tx renderer in crate::signing::tx::TxInfoJson can hand the wrapper a pre-rendered JSON string without paying for a parse-into-Value round-trip on every exec command. The outer LighterWsRequest serialization emits the raw source bytes inline. PartialEq is not derived because RawValue doesn’t implement it.
LighterWsSendTxBatch
WebSocket batch payload with JSON-encoded transaction arrays.
LighterWsTx
Transaction status update published by the authenticated account_tx stream.

Enums§

AccountStream
Account snapshot stream used to establish execution readiness.
ExecutionReport
Wrapper for the raw venue payloads emitted on Lighter account streams.
LighterMarketSelection
LighterMarketStatsPayload
LighterSpotMarketStatsPayload
LighterWsChannel
LighterWsChannelKind
Wire labels for the Lighter WebSocket channel taxonomy.
LighterWsFrame
A venue WebSocket data or account frame.
LighterWsRequest
NautilusWsMessage
Inbound message produced by the Lighter feed handler and consumed by the data and execution clients.
SendTxRejectionSource
Origin of a Lighter sendTx rejection signal.