Use getCoingeckoId Method for Meld Tokens #44609
Labels
dev-concern
feature/web3/wallet
Integrating Ethereum+ wallet support
front-end-change
This task is a front end task and doesn't need any C++ changes
QA/No
release-notes/exclude
Description
Currently the list of
Meld
tokens that we get from theMeld
API does not include acoingeckoId
as a definition for a token. So when we call thegetPrice
api from ratios, we have to pass either the tokenssymbol
orcontractAddress
. This is causing a bunch of failures and triggering the individual price lookup fallback instead of utilizingbatch
requests.To address this issue we need to map over the
Meld
token list and call ourgetCoingeckoId()
method. This will give us better price information for each token and reduce the number of calls we need to make to thegetPrice
api.The text was updated successfully, but these errors were encountered: