Why I get always reverted for Crypto.AVALON.USDA/USD price on Ethereum mainnet

I tried to use the feed Id of Crypto.AVALON.USDA/USD querying the pyth contract on Ethereum but it always revert with an error around if (price.publishTime == 0) revert PythErrors.PriceFeedNotFound();

0x4305fb66699c3b2702d4d05cf36551390a4c69c6.getPriceUnsafe(0x37c307959acbb353e1451bcf7da9d305c8cb8d54c64353588aaf900ffcffdd7d)

Is it due to no one is actually updating the feed on Ethereum?

Hey @camotelli

Is it due to no one is actually updating the feed on Ethereum?
Exactly. See here all the common errors and ways to troubleshoot.

If you’d like to run periodical price updates onchain you can use the scheduler.

If you’d like to see the feed sponsored, you can reach out to me on Telegram: Telegram: Contact @MarcTillement

1 Like