Skip to content

Commit fce4d95

Browse files
committed
chore(price-feeds) Add a callout to price pusher
1 parent 6e4e3af commit fce4d95

File tree

4 files changed

+22
-16
lines changed

4 files changed

+22
-16
lines changed

pages/price-feeds/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"type": "separator"
2424
},
2525

26-
"use-real-time-data": "Use Real-Time Price Data",
26+
"use-real-time-data": "Pull Real-Time Price Data",
2727
"use-historic-price-data": "Use Historic Price Data",
2828
"fetch-price-updates": "Fetch Price Updates",
2929
"schedule-price-updates": "Schedule Price Updates",

pages/price-feeds/pushed-feeds.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ The feeds can vary by network. Please see the relevant section below for the net
1616
- [Movement](pushed-feeds/movement)
1717

1818
<Callout type="info" emoji="ℹ️">
19-
Push feeds are subject to change with prior notice. Please refer to the
20-
[dev forum](https://dev-forum.pyth.network/c/announcements/6) for the latest
19+
Push feeds are subject to change with prior notice. Please refer to the [dev
20+
forum](https://dev-forum.pyth.network/c/announcements/6) for the latest
2121
updates.
2222
</Callout>
2323

@@ -28,9 +28,9 @@ The feeds can vary by network. Please see the relevant section below for the net
2828

2929
<Callout type="info" emoji="⚠️">
3030
DISCLAIMER: While the Pyth Data Association strives to deliver timely updates,
31-
these Push feeds may occasionally experience delays in updates caused by
32-
chain halts, gas estimations and other issues. Applications are advised to run
33-
their own scheduler. Find out how you can run your own scheduler
31+
these Push feeds may occasionally experience delays in updates caused by chain
32+
halts, gas estimations and other issues. Applications are advised to run their
33+
own scheduler. Find out how you can run your own scheduler
3434
[here](/price-feeds/schedule-price-updates/using-scheduler).
3535
</Callout>
3636

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ import { Callout } from "nextra/components";
22

33
# How to Pull Real-Time Price Data
44

5-
The following guides demonstrate how to consume Pyth real-time prices on various blockchains.
6-
These guides are intended for developers building on-chain applications that need price data, i.e., the price data must
5+
The following guides demonstrate how to consume **Pull** Pyth real-time prices on various blockchains.
6+
These guides are intended for developers building on-chain applications that need latest price data, i.e., the price data must
77
be on the blockchain.
88

99
<Callout type="info" emoji="ℹ️">
10-
The following guides show how to pull real-time price data. If you want to
11-
read prices directly from smart contracts, see [Push Feeds](../pushed-feeds).
10+
The following guides show **how to pull real-time** price data. If you want to
11+
read prices from smart contracts, see [Push Feeds](../pushed-feeds).
1212
</Callout>
1313

1414
Pyth price feeds are available on 100+ blockchain ecosystems.
1515
Check out the complete list of chains and implementation contract addresses at [Contract Addresses](contract-addresses).
1616

17-
If your blockchain is not supported, please [ask in Discord](https://discord.gg/invite/PythNetwork).
17+
If your blockchain is not supported, please [ask in the dev-forum](https://dev-forum.pyth.network/latest).
1818
Then, consult the relevant ecosystem guide to get started using Pyth pull real-time price data:
1919

2020
- [EVM](use-real-time-data/evm)

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

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
1-
---
2-
description: Consume Pyth Network prices in EVM applications
3-
---
1+
import { Callout } from "nextra/components";
42

5-
# How to Use Real-Time Data in EVM Contracts
3+
# How to Pull Real-Time Data in EVM Contracts
64

7-
This guide explains how to use real-time Pyth data in EVM contracts. For an interactive playground to explore the methods supported by the Pyth contract, see the [EVM API reference](../api-reference/evm/).
5+
This guide explains how to **Pull real-time Pyth** data in EVM contracts. For an interactive playground to explore the methods supported by the Pyth contract, see the [EVM API reference](../api-reference/evm/).
6+
7+
<Callout type="info" emoji="ℹ️">
8+
The following guides **show how to pull real-time** price data. If you want to
9+
read prices from smart contracts, see [Push Feeds](../pushed-feeds). If you
10+
want to use pushed feeds, one can just the following code from the smart
11+
contract to read the price: ```solidity copy PythStructs.Price memory price =
12+
pyth.getPriceNoOlderThan(priceFeedId, 60); ```
13+
</Callout>
814

915
## Install Pyth SDK
1016

0 commit comments

Comments
 (0)