This directory contains examples of how to use the Pyth client.
Lib
The lib directory contains shared utilities for the examples.
Query
The query directory contains examples of how to query Pyth using the Hermes and Benchmarks clients for the latest and historical prices, respectively. The returned price data can then be used in EVM contract transactions from the lib.PriceUpdate struct.