API ReferencePricing and oraclesInterface
TokenPairPrice
Pair price with the actual source used by the SDK read, including fallback to the chain oracle.
Properties
inputToken
inputToken: `0x${string}`;Token being valued; price units refer to one smallest unit of this token.
outputToken
outputToken: `0x${string}`;Token in which that value is denominated.
source
source: 'chainOracle' | 'hermes';Source that supplied this result, including a chain-oracle fallback when used.
value
value: Price;Directional price in output-token smallest units per input-token smallest unit, with publication time.