We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0408b7a commit f468d7eCopy full SHA for f468d7e
packages/pricing/src/providers/coingecko.provider.ts
@@ -60,6 +60,7 @@ const TokenMapping: { [key: string]: CoingeckoTokenId | undefined } = {
60
// MTK: undefined,
61
WSEI: "wrapped-sei" as CoingeckoTokenId,
62
HBAR: "hedera-hashgraph" as CoingeckoTokenId,
63
+ G$: "gooddollar" as CoingeckoTokenId,
64
};
65
66
// sometimes coingecko returns no prices for 1 hour range, 2 hours works better
packages/shared/README.md
@@ -74,3 +74,5 @@ const TOKENS: {
74
},
75
76
```
77
+
78
+Make sure to update the mapping in coingecko.provider.ts if the priceSourceCode differs from the token code required by CoinGecko.
0 commit comments