pyth

Read Pyth price data and manage on-chain price feeds on Sui.

3|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/mcxross/skills --skill pyth-mcxross
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pyth
Source: https://github.com/mcxross/skills/tree/main/pyth
Command: npx skills add https://github.com/mcxross/skills --skill pyth-mcxross

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Pyth on Sui provides real-time price data and on-chain price feed governance, enabling developers to reliably access price data and manage data sources in Move-based contracts.

Core Features & Use Cases

  • Real-time price queries and reads from Pyth price feeds on Sui.
  • On-chain feed updates and price governance to configure data sources and fees.
  • Use cases include integrating price data into DeFi protocols, dashboards, and governance-enabled price updates.

Quick Start

Query a price for a specific asset using a PriceInfoObject and read the latest value with get_price.

Frequently Asked Questions about pyth

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

FAQPage Schema
How do I get real-time Pyth price data in a Sui Move contract?▼

To get real-time Pyth price data on Sui, query a specific asset using a PriceInfoObject and read the latest value via the get_price function within your Move contract.

Can I update on-chain price feeds and configure data sources on Sui?▼

Yes, you can update on-chain price feeds and configure data sources on Sui using Pyth's governance workflows, which allow you to manage data sources and fees directly within Move-based contracts.

What Sui Move structures are used for on-chain Pyth price feed management?▼

On-chain Pyth price feed management on Sui utilizes State, PriceInfoObject, PriceFeed, and HotPotatoVector patterns to support reads, updates, and governance configuration.

Does Pyth work for DeFi protocol integration and governance-enabled price updates on Sui?▼

Yes, Pyth on Sui is designed for integrating real-time price data into DeFi protocols, dashboards, and executing governance-enabled price updates across multiple assets.

What is the best way to read the latest Pyth price value for an asset on Sui?▼

The best way to read the latest Pyth price value on Sui is to query the specific asset using its corresponding PriceInfoObject and call the get_price function to retrieve the current data.

Are there limitations when using HotPotatoVector patterns for Pyth price updates on Sui?▼

The HotPotatoVector pattern is used for on-chain Pyth price updates and state configuration on Sui, requiring direct handling within the transaction to manage price feed objects effectively.