Skip to content

API ReferencePricing and oraclesInterface

ResolveOraclePriceUpdateParams

Properties

errorField?

optional errorField?: string;

Field reported when a supplied update object is malformed.


inputToken?

optional inputToken?: `0x${string}`;

Base token; required only when the update source is omitted.


oraclePriceUpdate?

optional oraclePriceUpdate?: OraclePriceUpdateSource;

A caller-provided update, null to deliberately use the current on-chain price, or omitted to fetch a fresh update at resolution time.


outputToken?

optional outputToken?: `0x${string}`;

Quote token; required only when the update source is omitted.