You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: target_chains/cosmwasm/pyth-sdk-cw/README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,13 @@ use pyth_sdk_cw::{
30
30
....
31
31
```
32
32
33
+
This snippet returns a `PriceFeed` struct which exposes methods for reading the current price along with other useful functionality.
34
+
See the [Pyth common SDK documentation](https://github.com/pyth-network/pyth-sdk-rs/tree/main/pyth-sdk#pyth-network-common-rust-sdk) for more information
35
+
about this struct.
36
+
The common SDK also provides methods for combining price feeds in several useful ways.
37
+
These methods allow you to derive prices for alternative quote currencies -- for example, to derive the BTC/ETH price from
38
+
the BTC/USD and ETH/USD price feeds -- and to price baskets of currencies.
39
+
33
40
## Contracts and Price Feeds
34
41
35
42
Pyth is currently available on the following cosmwasm chains:
0 commit comments