balanceOf

This view function checks whether user have tokenId or not. It returns uint, 0 indicates false and if greater than 1 indicates true. It takes two parameters:

  • address: The User Address.

  • id: The Token Id.

Last updated