getTokenSupply

Returns the total supply of an SPL Token type.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
Token Mint PubkeystringRequired

The Pubkey of the token Mint to query.

ConfigurationobjectRequired

Optional configuration object containing additional settings.

Response

The total supply of the specified SPL Token.

amountstringOptional

The raw balance without decimals, a string representation of u64.

decimalsintegerOptional

Number of base-10 digits to the right of the decimal place.

uiAmountintegerOptional

The balance, using mint-prescribed decimals. DEPRECATED

uiAmountStringstringOptional

The balance as a string, using mint-prescribed decimals.