メインコンテンツへスキップする

Pyth Network

Overview

The Pyth Network is the largest first-party financial oracle network, delivering real-time market data to over 40 blockchains securely and transparently.

The network comprises some of the world’s largest exchanges, market makers, and financial services providers publishing their proprietary price data on-chain for aggregation and distribution to smart contract applications.

Using Pyth Network

The Pyth Network introduced an innovative low-latency pull oracle design, where users are empowered to “pull” price updates on-chain when needed, enabling everyone in that blockchain environment to access that data point.

Developers on Astar zkEVM have permissionless access to any of Pyth’s 350+ price feeds for equities, ETFs, commodities, foreign exchange pairs, and cryptocurrencies.

This package provides utilities for consuming prices from the Pyth Network Oracle using Solidity. Also, it contains the Pyth Interface ABI that you can use in your libraries to communicate with the Pyth contract.

It is strongly recommended to follow the consumer best practices when consuming Pyth data.

For more information and details, please refer to the official documentation here.

You can find more details on the various functions available to you when interacting with the Pyth smart contract in the API Reference section.

Pyth on Astar zkEVM

The Pyth Network smart contract is available at the following address: 0xA2aa501b19aff244D90cc15a4Cf739D2725B5729.

You may also refer to this page to find the various Pyth contracts.

Additionally, you'll be able to find all the Pyth Price Feed IDs here. Be sure to select the correct environment as mainnet and testnet price feeds IDs differ.

Other

The Pyth Network provides additional tools to developers like this TradingView Integration or the Gelato Web3 Functions.

If you'd have any questions or issues, you can contact us on the following platforms: Telegram, Discord, Website.