|
@@ -1,7 +1,12 @@
|
|
|
export type Chain = "evm" | "solana";
|
|
export type Chain = "evm" | "solana";
|
|
|
export type DeliveryFormat = "json" | "binary";
|
|
export type DeliveryFormat = "json" | "binary";
|
|
|
export type JsonBinaryEncoding = "base64" | "hex";
|
|
export type JsonBinaryEncoding = "base64" | "hex";
|
|
|
-export type PriceFeedProperty = "price" | "bestBidPrice" | "bestAskPrice";
|
|
|
|
|
|
|
+export type PriceFeedProperty =
|
|
|
|
|
+ | "price"
|
|
|
|
|
+ | "bestBidPrice"
|
|
|
|
|
+ | "bestAskPrice"
|
|
|
|
|
+ | "exponent"
|
|
|
|
|
+ | "publisherCount";
|
|
|
export type Channel = "real_time" | "fixed_rate@50ms" | "fixed_rate@200ms";
|
|
export type Channel = "real_time" | "fixed_rate@50ms" | "fixed_rate@200ms";
|
|
|
|
|
|
|
|
export type Request =
|
|
export type Request =
|
|
@@ -26,6 +31,8 @@ export type ParsedFeedPayload = {
|
|
|
price?: string | undefined;
|
|
price?: string | undefined;
|
|
|
bestBidPrice?: string | undefined;
|
|
bestBidPrice?: string | undefined;
|
|
|
bestAskPrice?: string | undefined;
|
|
bestAskPrice?: string | undefined;
|
|
|
|
|
+ publisherCount?: number | undefined;
|
|
|
|
|
+ exponent?: number | undefined;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type ParsedPayload = {
|
|
export type ParsedPayload = {
|