Skip to content

Conversation

@bobo-k2
Copy link
Contributor

@bobo-k2 bobo-k2 commented May 14, 2025

Provides additional info about ASTR and SDN tokens

{
"symbol": "ASTR",
"currencyCode": "USD",
"marketCap": 260011309.15073118,
"circulatingSupply": 7656651490,
"maxSupply": 8414384915,
"provider": "Stake Technologies Pte Ltd",
"lastUpdatedTimestamp": 1747211936080,
"accTradePrice24h": null,
"price": 0.03395888
}

@bobo-k2 bobo-k2 requested review from gtg7784 and impelcrypto May 14, 2025 08:40
@github-actions
Copy link

github-actions bot commented May 14, 2025

Visit the preview URL for this PR (updated for commit cfe336e):

https://astar-token-api--pr168-feat-extended-token-rnypt943.web.app

(expires Wed, 21 May 2025 09:30:08 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: f99fa4f4f8f3bb450e6e842f7e1c7783d6d896a3

const currency = 'usd';

const api = this._apiFactory.getApiInstance(network);
const [chainDecimals, totalSupply, balancesToExclude, price] = await Promise.all([
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't we get symbol as well? using api.registry.chainTokens

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, fixed

Copy link
Contributor

@gtg7784 gtg7784 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bobo-k2 bobo-k2 merged commit d110b8c into prod May 15, 2025
7 checks passed
@bobo-k2 bobo-k2 deleted the feat/extended-token-stats branch May 15, 2025 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants