FormattedPythPrice

Git Source

Representation of a Pyth price with a uint256 price.

struct FormattedPythPrice {
    uint256 price;
    uint256 conf;
    uint256 publishTime;
}

Properties

NameTypeDescription
priceuint256The price of the asset.
confuint256The confidence interval around the price (in dollars, absolute value).
publishTimeuint256Unix timestamp describing when the price was published.