API ReferencePricing and oraclesType Alias
UsdPriceUnavailableReason
type UsdPriceUnavailableReason = 'unsupported-feed' | 'transport-failure' | 'invalid-data';Why a token has no display price right now. One of:
unsupported-feed: no single Pyth feed could be resolved for the token (the token is unknown, Hermes has no feed for its symbol or more than one, or Hermes returned no price for the resolved feed). Retrying will not help.transport-failure: resolving the token or its feed failed for an infrastructure reason (RPC read, Hermes feed lookup). Retrying may help.invalid-data: Hermes returned an entry that fails the on-chain validity guard (price <= 0orconfidence >= price) or could not be parsed.