Home > @3rdweb/sdk > DropModule > balanceOf
Get NFT Balance
Signature:
balanceOf(address: string): Promise<BigNumber>;
Parameter | Type | Description |
---|---|---|
address | string |
Returns:
Promise<BigNumber>
Get a wallets NFT balance (number of NFTs in this module owned by the wallet).
// Address of the wallet to check NFT balance
const address = "";
const balance = await module.balanceOf(address);
console.log(balance);