pyth

Fetch and validate real-time Pyth price feeds for Solana applications.

116|9|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/elophanto/EloPhanto --skill pyth-elophanto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pyth
Source: https://github.com/elophanto/EloPhanto/tree/main/skills/pyth-oracle
Command: npx skills add https://github.com/elophanto/EloPhanto --skill pyth-elophanto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pyth price data is essential for DeFi and automation; this guide helps developers surface accurate real-time feeds and apply validation before use.

Core Features & Use Cases

  • Real-time price streaming from Hermes and on-chain price usage
  • EMA price and confidence bounds for safer liquidations and collateral decisions
  • End-to-end guidance for off-chain data consumption and on-chain posting

Quick Start

Fetch and validate Pyth price updates from Hermes for on-chain or off-chain usage.

Frequently Asked Questions about pyth

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch real-time Pyth price feeds for Solana applications?

To fetch real-time Pyth price feeds for Solana, you can stream off-chain data via Hermes and post it on-chain. This process includes applying staleness checks and confidence bounds to validate the price updates before integration.

What is the difference between off-chain streaming and on-chain posting for Pyth price data?

Off-chain streaming via Hermes fetches real-time Pyth price data for automation, while on-chain posting writes this data to Solana smart contracts. Both methods require validation through staleness checks and confidence bounds to ensure safe usage.

How do I validate Pyth price feeds to prevent stale data in Solana DeFi?

You validate Pyth price feeds by enforcing staleness checks and verifying confidence bounds. Using EMA price and confidence intervals ensures safer liquidations and collateral decisions by preventing the use of outdated or unreliable data.

Does this Pyth Solana integration guide support EMA prices and confidence bounds?

Yes, this Solana Pyth integration supports EMA prices and confidence bounds. These validation mechanisms are applied to both off-chain Hermes streams and on-chain posted data to ensure accurate, reliable price feeds for DeFi applications.

What's the best way to use Pyth price feeds for automated Solana liquidations?

The best way to use Pyth price feeds for Solana liquidations is to fetch updates from Hermes and enforce confidence bounds. Validating EMA prices and checking for staleness ensures safe, reliable collateral decisions during automation.

When should I enforce confidence bounds when using Pyth price feeds on Solana?

You should enforce confidence bounds whenever consuming Pyth price feeds on Solana to ensure data reliability. Applying these checks during off-chain streaming and on-chain posting prevents unsafe integrations during high market volatility.