Skip to content

Commit 0020232

Browse files
authored
Very minor edits (#303)
1 parent 8922e30 commit 0020232

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

pages/price-feeds/_meta.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"pythnet-reference": "Pythnet Reference",
4747

4848
"examples": {
49-
"title": "Examples Application",
49+
"title": "Example Applications",
5050
"href": "https://github.com/pyth-network/pyth-examples/tree/main/price_feeds"
5151
},
5252
"-- Understand Pyth": {

pages/price-feeds/use-real-time-data/evm.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This guide explains how to use real-time Pyth data in EVM contracts. For an inte
99
## Install Pyth SDK
1010

1111
Pyth provides a [Solidity SDK](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/ethereum/sdk/solidity) to fetch prices from Pyth contracts.
12-
The SDK exposes `IPyth` interface to interact with Pyth price feeds
12+
The SDK exposes `IPyth` interface to interact with Pyth price feeds.
1313

1414
**Truffle/Hardhat**
1515

pages/price-feeds/use-real-time-data/off-chain.mdx

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This guide explains how to use the [typescript SDK client](https://github.com/py
44

55
## Installation
66

7-
The Pyth SDK can be installed using npm or yarn.
7+
The Pyth SDK can be installed using npm or yarn:
88

99
### npm
1010

@@ -21,7 +21,7 @@ yarn add @pythnetwork/price-service-client
2121
## Usage
2222

2323
Typical usage of the Pyth SDK involves creating a `PriceServiceConnection` instance, by passing the URL of the [Hermes](https://hermes.pyth.network/docs/#/) service to the constructor.
24-
You can then use the `getLatestPriceFeeds` method to fetch the latest prices of the specified price feeds.
24+
You can then use the `getLatestPriceFeeds` method to fetch the latest prices of the specified price feeds:
2525

2626
```typescript copy
2727
// Get the Stable Hermes service URL from https://docs.pyth.network/price-feeds/api-instances-and-providers/hermes
@@ -37,7 +37,7 @@ const currentPrices = await connection.getLatestPriceFeeds(priceIds);
3737
console.log(currentPrices);
3838
```
3939

40-
The `getLatestPriceFeeds` method returns an array of `PriceFeed` objects. Each `PriceFeed` object contains the latest price, the Exponential Moving Average (EMA) price, and other metadata.
40+
The `getLatestPriceFeeds` method returns an array of `PriceFeed` objects. Each `PriceFeed` object contains the latest price, the Exponential Moving Average (EMA) price, and other metadata:
4141

4242
```bash
4343
[
@@ -78,7 +78,7 @@ The `getLatestPriceFeeds` method returns an array of `PriceFeed` objects. Each `
7878
]
7979
```
8080

81-
You can also subscribe to real-time price updates over a WebSocket connection using the `subscribePriceFeedUpdates` method.
81+
You can also subscribe to real-time price updates over a WebSocket connection using the `subscribePriceFeedUpdates` method:
8282

8383
```typescript copy
8484
// priceIds here is the one declared in the above code snippet.
@@ -113,4 +113,4 @@ The [Hermes API](https://hermes.pyth.network/docs/#/) reference lets you interac
113113

114114
### Price Feed IDs
115115

116-
The [Price Feed Ids](https://pyth.network/developers/price-feed-ids) lists the price feeds available on the Pyth network.
116+
The [Price Feed IDs](https://pyth.network/developers/price-feed-ids) lists the price feeds available on the Pyth network.

0 commit comments

Comments
 (0)