Inquirer
First-wins USD price aggregation over an ordered oracle sequence.
__init__
__init__(self, oracles: Sequence[PriceOracle]) -> None
Hold oracles; query order is construction order.
Parameters
oraclesrequired, Sequence[PriceOracle]none
usd_prices
usd_prices(self, caip19s: Sequence[str]) -> dict[str, Money]
Merged first-wins USD prices for caip19s.
Validates every id up front (CaipParseError before any oracle
call), deduplicates preserving first occurrence, then walks the
oracles in order asking each only for the still-unpriced ids and
stopping early once everything is priced. Unpriced ids are absent
from the result, never an error.
Parameters
caip19srequired, Sequence[str]none