Batch prices for tokens
Changed onCurrent prices, one row per priced token. A token without a current price is left out, not returned as null. With addresses and a single chainId, rows follow the order of addresses and repeated addresses (in any case) give one row. limit and offset page over the priced rows only: meta.hasMore is true while more priced rows follow. meta.total is not returned. To read up to 100 addresses in one call, send limit=100 and follow meta.hasMore. Needs the prices chain capability. A chainId naming a chain without it answers 404 CHAIN_CAPABILITY_DISABLED; without chainId, served chains without it are left out and listed in meta.excludedChains.
Request
- Base URLhttps://v3.euler.finance
- URLhttps://v3.euler.finance/v3/prices
- Authnone required
Query parameters
Comma-separated list of positive chain IDs (single value allowed). Duplicate IDs are removed in first-occurrence order; at most 20 distinct IDs and 512 input characters are accepted.
Comma-separated token addresses (maximum 100). When both addresses and the deprecated assets alias are supplied, addresses takes precedence. More than 100 values, or an invalid address, answers 400.
Deprecated alias for addresses, used only when addresses is absent. Maximum 100 addresses.
Page offset, capped at 10000 to bound query cost.
Requested page size. Values above the endpoint cap are clamped; the default shared cap is 100.
Response
Prices
Changes
- info
added the optional property
/to the response with the status
- info
- warning
removed the optional property
/from the response with the status
- warning