@exodus/rates-monitor v4.14.3
@exodus/rates-monitors
This feature fetches pricing data (via pricingClient) for assets.
Data is fetched automatically on startup for currency defined in currencyAtom and assets from availableAssetNamesAtom. data is stored in ratesAtom.
Pricing data contains: price - current price in requested currency, priceUSD - current USD price, change24 - percentage change for 24 hours, volume24 - volume in requested currency, cap - market cap of asset, invalid - boolean indicates that data is corrupted
Usage
This feature is designed to be used together with @exodus/headless. See Using the SDK for more details.
API Side
exodus.rates.refresh() public method to re-fetch pricing data
Play with it
- Open the playground at https://exodus-hydra.pages.dev/features/rates-monitor
- Check that the data selector returns prices in USD
- Check that public API available
exodus.rates.refresh()
5 months ago
5 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
7 months ago
7 months ago
7 months ago
7 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago