getTokenAccountBalance
Returns the token balance of an SPL Token account.
Path parameters
apiKey
Request
This endpoint expects an object.
Token account Pubkey
The Pubkey of the token account to query.
Configuration
Optional configuration object containing additional settings.
Response
The balance of the SPL Token account.
amount
The raw balance without decimals, a string representation of u64.
decimals
Number of base-10 digits to the right of the decimal place.
uiAmount
The balance, using mint-prescribed decimals. DEPRECATED
uiAmountString
The balance as a string, using mint-prescribed decimals.