Crate pyth_sdk_cw
source ·Modules
Structs
- A price with a degree of uncertainty at a certain time, represented as a price +- a confidence interval.
- Represents a current aggregation price from pyth publisher feeds.
Enums
Functions
- Get the fee required in order to update the on-chain state with the provided
price_update_vaas
. - Get the default length of time for which a price update remains valid.
- Queries the price on-chain
Type Definitions
- Consists of 32 bytes and it is currently based on largest Public Key size on various blockchains.
- 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.