Skip to main content

sdk.erc721lazymint.balanceof

Home > @openformat/sdk > ERC721LazyMint > balanceOf

ERC721LazyMint.balanceOf() method

Gets the number of tokens owned by a specific account. balanceOf

Signature:

balanceOf(params: ERC721BalanceOfParams): Promise<number>;

Parameters

ParameterTypeDescription
paramsERC721BalanceOfParams

Returns:

Promise<number>

{Promise<number>} A promise that resolves to the number of tokens owned by the specified account.

Exceptions

{Error} If there was an error executing the balanceOf function.