/preFetch

Takes an array of tokens that need pricing. Each token needs an address, a chain identifier, and the type of price desired.

Valid values for 'priceType' are: dexHighestLiquidity.

For the 'chain' field, pull the list of valid names from the /chains endpoint. Block number or timestamp are optional (you only need to pass one of those, or none if you want to pre-fetch the token for current time).

Returns an array of results for each token that you passed. If any of the results have a status of "findingSolution", you can call the regular /price endpoint for a final answer on that token in about ~2 minutes.

Body Params
tokens
array of objects | null
tokens
Headers
string
required
Defaults to demokey

API Key for Pricing API. To generate an API Key, visit https://noves.fi/pricing

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json