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
Developers only need to pass the price feed ID to the above method from the [Push Feeds list](../push-feeds).
14
+
Developers only need to pass the price feed ID to the above method from the [Push Feeds list](../../push-feeds/evm).
15
15
16
16
For complete example, refer to the [Push Integration guide](../push-integration).
17
17
@@ -95,11 +95,11 @@ contract SomeContract {
95
95
96
96
The code snippet above does the following things:
97
97
98
-
1. Instantiate the `IPyth` interface from the Solidity SDK using the price feeds [contract address](../contract-addresses/evm).
99
-
2. Select the [Price Feed IDs](../price-feeds.mdx) for the assets you want to fetch prices for. Price feeds come in two varieties, Stable and Beta. You should select Stable feed ids
98
+
1. Instantiate the `IPyth` interface from the Solidity SDK using the price feeds [contract address](../../contract-addresses/evm).
99
+
2. Select the [Price Feed IDs](../../price-feeds) for the assets you want to fetch prices for. Price feeds come in two varieties, Stable and Beta. You should select Stable feed ids
100
100
3. Call `IPyth.getUpdateFee` to calculate the fee charged by Pyth to update the price.
101
101
4. Call `IPyth.updatePriceFeeds` to update the price, paying the fee calculated in the previous step.
102
-
5. Call `IPyth.getPriceNoOlderThan` to read the current price, providing the [price feed ID](../price-feeds.mdx) that you wish to read and your acceptable staleness threshold for
102
+
5. Call `IPyth.getPriceNoOlderThan` to read the current price, providing the [price feed ID](../../price-feeds) that you wish to read and your acceptable staleness threshold for
103
103
the price.
104
104
105
105
## Additional Resources
@@ -108,15 +108,15 @@ You may find these additional resources helpful for developing your EVM applicat
108
108
109
109
### API Reference
110
110
111
-
The [EVM API reference](../api-reference/evm/) lets you interactively explore the complete API of the Pyth contract.
111
+
The [EVM API reference](../../api-reference) lets you interactively explore the complete API of the Pyth contract.
112
112
113
113
### Current Fees
114
114
115
-
The [Current Fees](../current-fees/) page lists the current fees for each network.
115
+
The [Current Fees](../../current-fees) page lists the current fees for each network.
116
116
117
117
### Error Codes
118
118
119
-
The [EVM error codes](../error-codes/evm/) page lists the error codes that the Pyth contract may return.
119
+
The [EVM error codes](../../error-codes/evm) page lists the error codes that the Pyth contract may return.
0 commit comments