getTokenLargestAccounts

Returns the 20 largest accounts of a particular SPL Token type.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
Token Mint PubkeystringRequired
The Pubkey of the token Mint to query.
ConfigurationobjectOptional
Optional configuration object.

Response

An array of the 20 largest accounts of the specified token type.
addressstring or null
Address of the token account.
amountstring or null
Raw amount in the account, without decimals.
decimalsinteger or null
Number of decimals configured for the token's mint.
uiAmountdouble or null

Token amount using mint-prescribed decimals. DEPRECATED

uiAmountStringstring or null

Token amount as a string, using mint-prescribed decimals.