Skip to main content

TypeScript shape

Address!
required
Token contract address.
NetworkId!
required
Network ID (e.g. 1, 42161).
Int
Optional timestamp for historical pricing.
Address
Optional pool address used for pricing.
Int
Optional block number for historical pricing.
The following field is deprecated. It remains in the schema for backwards compatibility and may be removed in a future version.
Float
deprecated
Deprecated — this isn’t taken into account anymore.