Skip to content

Commit f137205

Browse files
committed
feat: update front matter for all Pyth Core docs
1 parent 5d9ed39 commit f137205

File tree

95 files changed

+612
-296
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+612
-296
lines changed

apps/developer-hub/content/docs/pyth-core/api-instances-and-providers.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
---
2+
title: 'Access Hermes & Pythnet RPC: Developer API Guide'
3+
description: >-
4+
Streamline integration of Pyth Price Feeds with Hermes and Pythnet RPC. Choose
5+
self-hosted or third-party instances to boost development efficiency.
6+
full: false
7+
index: false
8+
---
19
# API Instances and Providers
210

311
The following documentation explains how to get access to an instance of Hermes or a Pythnet RPC.

apps/developer-hub/content/docs/pyth-core/api-instances-and-providers/hermes.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
---
2+
title: 'Hermes: Open-Source Service for Pyth Price Updates'
3+
description: >-
4+
Experience real-time Pyth price feeds with Hermes: an open-source REST and
5+
streaming API. Use public endpoints or self-host for reliable, decentralized
6+
data.
7+
full: false
8+
index: false
9+
---
110
import { Callout } from "nextra/components";
211

312
# Hermes

apps/developer-hub/content/docs/pyth-core/api-instances-and-providers/pythnet-rpc.mdx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
---
2-
title: Pythnet RPC
3-
description: 'Documentation for Pythnet RPC, including usage and configuration details.'
2+
title: 'Pythnet RPC: How to Access and Use for Developers'
3+
description: >-
4+
Configure Pythnet RPC with Hermes, select trusted providers like Triton or
5+
P2P, or self-host your node for secure, reliable data access. Get started
6+
today.
7+
full: false
8+
index: false
49
---
510
# Pythnet RPC
611

apps/developer-hub/content/docs/pyth-core/api-reference.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
---
2+
title: 'Pyth API Reference: On- and Off-Chain Developer Tools'
3+
description: >-
4+
Dive into Pyth Core’s API reference—EVM, Aptos, CosmWasm & Hermes. Access
5+
interactive docs and on/off-chain integration guides to streamline
6+
development.
7+
full: false
8+
index: false
9+
---
110
# API Reference
211

312
The API reference is a comprehensive guide to the various APIs -- both on- and off-chain -- that developers can use in their applications.

apps/developer-hub/content/docs/pyth-core/api-reference/aptos.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
2-
title: Aptos
2+
title: Aptos Pyth Price Feed API Reference
33
description: >-
4-
This document provides a comprehensive overview of the Pyth Network Aptos
5-
contract, detailing how to submit and retrieve price updates for on-chain
6-
verification and usage.
4+
Developer guide to Pyth Network’s Aptos contract: submit and retrieve on-chain
5+
price updates with best practices for verification, storage, and integration.
6+
full: false
7+
index: false
78
---
89
# Pyth Price Feeds Aptos Contract Reference
910

apps/developer-hub/content/docs/pyth-core/api-reference/aptos/get-ema-price-no-older-than.mdx

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,11 @@
11
---
2-
title: get_ema_price_no_older_than
2+
title: Get EMA Price & Confidence Interval by Price Feed ID
33
description: >-
4-
Get the latest exponentially-weighted moving average (EMA) price and
5-
confidence interval for the requested price feed id. The price feed id is a
6-
32-byte id written as a hexadecimal string; see the [price feed
7-
ids](https://pyth.network/developers/price-feed-ids) page to look up the id
8-
for a given symbol. The returned price and confidence are decimal numbers
9-
written in the form `a * 10^e`, where `e` is an exponent included in the
10-
result. For example, a price of 1234 with an exponent of -2 represents the
11-
number 12.34. The result also includes a `timestamp` which is the unix
12-
timestamp for the price update. The EMA methodology is described in more
13-
detail in this [blog
14-
post](https://pythnetwork.medium.com/whats-in-a-name-302a03e6c3e1). The caller
15-
provides a `max_age_secs` argument that specifies how old the price can be.
16-
The call reverts if the on-chain price is from more than `max_age_secs`
17-
seconds in the past (with respect to the current on-chain timestamp). Users of
18-
this method will typically invoke [update_price_feeds](update-price-feeds) to
19-
update the on-chain price before reading it. This step ensures that the
20-
on-chain price is fresh and the call does not revert.
4+
Get real-time EMA prices and confidence intervals for any feed ID. Update
5+
feeds instantly to ensure data freshness, and explore our detailed EMA
6+
methodology guide.
7+
full: false
8+
index: false
219
---
2210
import Input from "../../../../components/Input";
2311
import Arg from "../../../../components/Arg";

apps/developer-hub/content/docs/pyth-core/api-reference/aptos/get-ema-price-unsafe.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
---
2-
title: Get EMA Price Unsafe
2+
title: Fetch EMA Price & Confidence Interval via Pyth API
33
description: >-
4-
Get the latest exponentially-weighted moving average (EMA) price and
5-
confidence interval for a specified price feed ID, including timestamp and
6-
detailed methodology.
4+
Retrieve EMA price, confidence interval, timestamp, and methodology for any
5+
Pyth Core price feed ID. Access real-time data to make precise, confident
6+
decisions.
7+
full: false
8+
index: false
79
---
810
import Input from "../../../../components/Input";
911
import Arg from "../../../../components/Arg";

apps/developer-hub/content/docs/pyth-core/api-reference/aptos/get-ema-price.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
---
2-
title: get_ema_price
2+
title: 'Get EMA Price: Exponentially-Weighted Moving Average'
33
description: >-
4-
Get the latest exponentially-weighted moving average (EMA) price and
5-
confidence interval for the requested price feed id.
4+
Access EMA prices and confidence intervals from Pyth price feeds with detailed
5+
parameters, usage examples, and real-time integration code.
6+
full: false
7+
index: false
68
---
79
import Input from "../../../../components/Input";
810
import Arg from "../../../../components/Arg";

apps/developer-hub/content/docs/pyth-core/api-reference/aptos/get-price-no-older-than.mdx

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
11
---
2-
title: get_price_no_older_than
2+
title: Aptos Get Price & Confidence Interval by Feed ID
33
description: >-
4-
Get the latest price and confidence interval for the requested price feed id,
5-
if it has been updated sufficiently recently. The price feed id is a 32-byte
6-
id written as a hexadecimal string; see the [price feed
7-
ids](https://pyth.network/developers/price-feed-ids) page to look up the id
8-
for a given symbol. The returned price and confidence are decimal numbers
9-
written in the form `a * 10^e`, where `e` is an exponent included in the
10-
result. For example, a price of 1234 with an exponent of -2 represents the
11-
number 12.34. The result also includes a `timestamp` which is the unix
12-
timestamp for the price update. The caller provides a `max_age_secs` argument
13-
that specifies how old the price can be. The call reverts if the on-chain
14-
price is from more than `max_age_secs` seconds in the past (with respect to
15-
the current on-chain timestamp). Users of this method will typically invoke
16-
[update_price_feeds](update-price-feeds) to update the on-chain price before
17-
reading it. This step ensures that the on-chain price is fresh and the call
18-
does not revert.
4+
Access real-time verified prices and confidence intervals for Pyth feed IDs.
5+
Opt in for updates to ensure fresh, accurate on-chain pricing.
6+
full: false
7+
index: false
198
---
209
import Input from "../../../../components/Input";
2110
import Arg from "../../../../components/Arg";

apps/developer-hub/content/docs/pyth-core/api-reference/aptos/get-price-unsafe.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
---
2-
title: Get Price Unsafe
2+
title: 'Pyth Core: Get Price & Confidence Interval API'
33
description: >-
4-
Get the latest price and confidence interval for the requested price feed id,
5-
including details on how to interpret the data and usage considerations.
4+
Access live price data and confidence intervals from Pyth Core’s Aptos feed,
5+
plus expert tips for accurate interpretation and smarter decisions.
6+
full: false
7+
index: false
68
---
79
import Input from "../../../../components/Input";
810
import Arg from "../../../../components/Arg";

0 commit comments

Comments
 (0)