Crate pyth_sdk

Source

Modules§

utils

Structs§

Identifier
Price
A price with a degree of uncertainty at a certain time, represented as a price +- a confidence interval.
PriceFeed
Represents a current aggregation price from pyth publisher feeds.

Type Aliases§

DurationInSeconds
PriceIdentifier
Consists of 32 bytes and it is currently based on largest Public Key size on various blockchains.
ProductIdentifier
Consists of 32 bytes and it is currently based on largest Public Key size on various blockchains.
UnixTimestamp
Unix Timestamp is represented as number of seconds passed since Unix epoch (00:00:00 UTC on 1 Jan 1970). It is a signed integer because it’s the standard in Unix systems and allows easier time difference.