API ReferenceTokens and balancesFunction
getAccountTokenBalance()
function getAccountTokenBalance(ctx, params): Promise<bigint>;Fetches the current token balance for the provided token and configured account.
Parameters
| Parameter | Type | Description |
|---|---|---|
ctx | SDKContext | The SDK context. |
params | GetAccountTokenBalanceParams | The request-specific parameters. |
Returns
Promise<bigint>
The token balance for the account in question.