Skip to content

balanceOf method not working. #30

Description

@Vaibhav-afk

I'm getting this error: TypeError: activeTwToken.balanceOf is not a function

how to get balance of token deployed on thirdweb into React app.

My code is:

const balance = await token.balanceOf(walletAddress);
console.log(balance.displayValue);

I am taking reference from
Link

Please Help me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions