USD prices and gas cost
get_pricesWhat things are worth on a chain: token USD prices (the Uniswap gateway's map; the native token, address zero, priced as the chain's WETH), the gas price, and the typical USD cost of each operator operation at it (recenter, move, allocate, reinvest, claim). For weighing whether an operation pays before simulating it — a simulation's own gas estimate is better once there is one. tokens narrows the map and lists the ones it cannot price; derived names known stablecoins the gateway left unpriced, priced from a stablecoin they are pooled with; stale marks a copy served while a refresh fails; gatewayStale: true means the gateway's last answer (gatewayDataAt) is over 3 hours old, so the prices are that old answer's, not current.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokens | No | Token addresses to price; all known when omitted | |
| chainId | Yes | EVM chain id, e.g. 42161 for Arbitrum One |