Expand description
Wire frames and handler-output message types for Lighter streams.
Structs§
- Lighter
Asset - Lighter
Market Stats - Lighter
Pool Shares - Lighter
Position - Lighter
Spot Market Stats - Lighter
Ticker - Lighter
User Stats - Body of the
user_statsframe. Top-level equity numbers mirrortotal_stats;cross_statsreports cross-margin equity only. - Lighter
User Stats Scoped - Inner shape of the
user_stats.stats.cross_statsand.total_statssubstructs. Every field is a stringified decimal on the wire and denominated in USDC. - Lighter
WsCandle - Lighter
WsOrder Book - Lighter
WsSend Tx tx_infois carried asBox<RawValue>so the typed-tx renderer incrate::signing::tx::TxInfoJsoncan hand the wrapper a pre-rendered JSON string without paying for a parse-into-Value round-trip on every exec command. The outerLighterWsRequestserialization emits the raw source bytes inline.PartialEqis not derived becauseRawValuedoesn’t implement it.
Enums§
- Account
Stream - Identifier for one of the five account-scoped WebSocket streams the execution client subscribes to on connect.
- Execution
Report - Wrapper for the raw venue payloads emitted on Lighter account streams.
- Lighter
Market Selection - Lighter
Market Stats Payload - Lighter
Spot Market Stats Payload - Lighter
WsChannel - Lighter
WsChannel Kind - Wire labels for the Lighter WebSocket channel taxonomy.
- Lighter
WsFrame - Lighter
WsRequest - Nautilus
WsMessage - Inbound message produced by the Lighter feed handler and consumed by the data and execution clients.
- Send
TxRejection Source - Origin of a Lighter
sendTxrejection signal.