Post
Share your knowledge.
YJS94
Dec 31, 2024
Discussion
How to use API endpoint for coin data on a website?
I'm working on a website and I need to display the current market cap and price of our coin. I've found an API related to our coin, but I'm unsure how to use it. Could someone guide me on how I can get this information through the API?
- Move CLI
- Move
2
1
Share
Comments
Answers
1Dominikus 168
Jan 1 2025, 15:22To display the current market cap and price, you need to use the API endpoint. As mentioned, the endpoint you should be looking at is below the getCoinByType
function. It seems like you might want to use the getCoinMetaData
endpoint to retrieve information about a single coin. Check the metadata returned from this endpoint to see if it includes the market cap and price.
1
Best Answer
Comments
Do you know the answer?
Please log in and share it.
Move is an executable bytecode language used to implement custom transactions and smart contracts.
148Posts231Answers

Reward CampaignJune
- ... SUIderiss+5
- ... SUIRamirez+5
- ... SUIElvin CLONE +5
- ... SUI
- ... SUI
- ... SUI
- ... SUIBritain+2
Bounty Posts