Skip to main content

Crate pyth_lazer_protocol

Crate pyth_lazer_protocol 

Source
Expand description

Lazer type definitions and utilities.

Modules§

api
Types describing Lazer HTTP and WebSocket APIs.
binary_update
Binary delivery format for WebSocket.
jrpc
Lazer Agent JSON-RPC API.
message
Types describing Lazer’s verifiable messages containing signature and payload.
payload
Types describing Lazer’s message payload.
publisher
Legacy Websocket API for publishers.
time
Lazer’s types for time representation.

Structs§

AssetId
ChannelId
ExchangeId
Price
PriceFeedId
PublisherDatapoint
Per-publisher datapoint in an aggregate. Represents a price mantissa for price feeds or a rate mantissa for funding rate feeds.
PublisherId
Rate

Enums§

AssetClass
DynamicValue
ExchangeAssetClass
Asset class for an exchange entity. Mirrors the proto AssetClass enum.
ExchangeAssetSector
Asset sector for an exchange entity. Mirrors the proto AssetSector enum.
ExchangeAssetSubclass
Asset subclass for an exchange entity. Mirrors the proto AssetSubclass enum.
FeedKind
PriceError
PriceFeedProperty
RateError
SymbolState

Functions§

parse_proto_json