getTokenSupply abstract method
Returns the total supply of an SPL Token type.
mint
Pubkey of token Mint to query, as base-58 encoded string
commitment
For commitment
parameter description see this document
Commitment.processed is not supported as commitment
.
Implementation
Future<TokenAmountResult> getTokenSupply(
String mint, {
Commitment? commitment,
});