Skip to content

API ReferencePricing and oraclesInterface

GetUsdPricesParams

Parameters for a best-effort batch display-pricing read.

Properties

tokens

tokens: readonly UsdPriceEntry[];

Token addresses or direct Pyth feed entries to price. The returned outcomes preserve this order, including duplicates. Address entries are matched case-insensitively; feed entries are matched by normalized feed ID and decimals together, so the same feed named twice with different decimals still projects each entry’s own exponent. A mixed request issues one Hermes read for every distinct feed (by normalized feed ID alone) across both kinds of entry.