Docs

getTokenBalance

Retrieves the balance of a token for a given wallet.

Example

import { getTokenBalance } from "thirdweb/wallets";
const balance = await getTokenBalance({
account,
client,
chain,
tokenAddress,
});

Parameters

Returns

A promise that resolves to the token balance result.