Is MarketCoin some specific type of coin? I noticed it is shown a bit differently than other coins in different explorers. Example tx: HwZ8N7d8yg7QbhT6KpVKs8yW9PfkYKaCnGc8fbwQYU78
I cannot seem to find the docs for suix_getCoinMetadata at the moment but I am guessing that the issue is that suix_getCoinMetadata only works for official coins (using the coin standard). reserve::MarketCoin is not an official coin type so the function isn’t going to work as exected.
I hope this makes sense. If you’d like, I can guide you through the process of creating a coin with the coin standard?
Hi, thanks for your response. Didn’t know about JsonRPC deprecation, thanks for the heads up.
Regarding suix_getCoinMetadata, it really works only with official coins, but if you check coin link from my previous message this MarketCoin looks like some kind of a wrapper around an official coin: MarketCoin<SCA>
And SCA is an official coin which has coin metadata available: {“jsonrpc”:“2.0”,“id”:1,“result”:{“decimals”:9,“name”:“Scallop”,“symbol”:“SCA”,“description”:“SCA is the native token of Scallop Protocol.”}}