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/near.mdx
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -162,6 +162,8 @@ near contract \
162
162
send
163
163
```
164
164
165
+
**Try it out on [Lantstool](https://app.lantstool.dev/import/gh/lantstool/examples.near-protocol/main/integrations/pyth/real-time-price-data/update-price-feed.json)**
166
+
165
167
Alternatively, you can use `near-js` libraries to perform the contract call. For this example we will create a simple node.js project.
166
168
167
169
First, install the `near-js` libraries we will use:
@@ -272,6 +274,8 @@ near contract \
272
274
273
275
```
274
276
277
+
**Try it out on [Lantstool](https://app.lantstool.dev/import/gh/lantstool/examples.near-protocol/main/integrations/pyth/real-time-price-data/get-price.json)**
278
+
275
279
#### NEAR-JS Example
276
280
277
281
For this example we will create a simple node.js project. First, install the [`near-js\client`](https://www.npmjs.com/package/@near-js/client) library:
0 commit comments