getAllPrices
getAllPrices method can be used to fetch the latest price for all available tokens
Get the latest price for all tokens
▸ getAllPrices(opts?
: GetPriceOptions): Promise<{ [symbol: string]: PriceData; }>
Returns the latest price for all the supported symbols
Parameters:
Name | Type | Default value | Description |
| GetPriceOptions | {} | Optioanl options object. opts.provider: provider name (string) opts.verifySignature: enable signature verification (boolean) |
Returns: Promise<{ [symbol: string]: PriceData; }>
The latest price for all the supported tokens
Defined in: limestone-api.ts:202
Examples
Get prices for all available tokens
To fetch the latest prices for all available tokens use the getAllPrices
method.
Last updated