Quantcast
Channel: Recent Questions - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 8046

How to retrieve total token supply (circulating minted tokens) within a Solana program?

$
0
0

I'm developing a Solana program using the Anchor framework. In one of my instructions, I need to fetch the total number of minted tokens currently in circulation. I'm aware that this information can be obtained via the getTokenSupply() RPC call.

However, I'd like to know if it's possible to achieve this directly within the Solana program itself.


Viewing all articles
Browse latest Browse all 8046


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>