Skip to main content

Overview

Fetch current or historical USD prices for multiple tokens in a single request. Supports batching, preserves input order, and allows historical queries via timestamp or block number.

Returns

getTokenPrices
[Price!]!
List of token prices matching the order of the input. See Price.

Arguments

inputs
[GetPriceInput!]!
required
Array of price queries. Response preserves the same order. See GetPriceInput.

Example

Playground