Parameters
string
default:"solana-devnet"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
string
default:"2.0"
required
JSON-RPC version.
string
default:"getTokenSupply"
required
JSON-RPC method name.
object
default:["3wyAj7Rt1TWVPZVteFJPLa26JmLvdb1CAKEFZm3NY75E"]
required
Parameters for method getTokenSupply: [mintAddress, config]Positional parameters for getTokenSupply:params[0]: Pubkey of the token Mint to query (base-58 encoded string).params[1]: Optional configuration object.
Returns
Token supply information for the given mint.
The raw total token supply without decimals (string representation of u64).
Number of base 10 digits to the right of the decimal place.
Total token supply using mint-prescribed decimals (deprecated).
Total token supply as a string using mint-prescribed decimals.