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: pages/price-feeds/use-real-time-data/evm.mdx
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,16 @@
1
-
---
2
-
description: Consume Pyth Network prices in EVM applications
3
-
---
1
+
import { Callout } from"nextra/components";
4
2
5
-
# How to Use Real-Time Data in EVM Contracts
3
+
# How to Pull Real-Time Data in EVM Contracts
6
4
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
+
<Callouttype="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 =
0 commit comments