issues
search
multiversx
/
mx-api-service
Unified REST API facade for providing data related to the MultiversX blockchain
https://api.multiversx.com
GNU General Public License v3.0
30
stars
48
forks
source link
fetch token price from mx-assets priceSource.url
#1290
Open
cfaur09
opened
1 month ago
cfaur09
commented
1 month ago
Reasoning
To be able to add all the token price / supply information, we add a new field in token assets to be able fetch token price from a dedicated source
Proposed Changes
modify the condition for applying token price / supply / circulatingSupply if priceSource.url exist
creat a private method to be able to fetch the data from URL
How to test
tokens?identifiers=LXOXNO-0eb983
-> should contain price field
tokens/LXOXNO-0eb983
-> should contain price field
Reasoning
Proposed Changes
How to test
tokens?identifiers=LXOXNO-0eb983
-> should contain price fieldtokens/LXOXNO-0eb983
-> should contain price field