The DataUtils module has been updated to fetch data from REST APIs provided by the new backend
Added these endpoints into PrimeDataUtils: getAccountBalances, getTransaction, getNftList, getAdvanceRoutesLiFi, getStepTransaction, getTokenLists, getTokenListTokens and fetchExchangeRates
Added new parameter named chainId in getTokenLists and getTokenListTokens endpoints
Types of changes
What types of changes does your code introduce?
[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Other (please describe):
Further comments (optional)
Updated the DataUtils module to include a data API key parameter instead of project key and GraphQL endpoint parameters (If the data API key is not provided, it will automatically use the default API key, which has a strict rate limit)
Description
DataUtils
module has been updated to fetch data from REST APIs provided by the new backendgetAccountBalances
,getTransaction
,getNftList
,getAdvanceRoutesLiFi
,getStepTransaction
,getTokenLists
,getTokenListTokens
andfetchExchangeRates
chainId
ingetTokenLists
andgetTokenListTokens
endpointsTypes of changes
What types of changes does your code introduce?
Further comments (optional)
DataUtils
module to include a data API key parameter instead of project key and GraphQL endpoint parameters (If the data API key is not provided, it will automatically use the default API key, which has a strict rate limit)