Totalsupply

am trying to get the total supply of my erc721 token but every time I call the function, the compiler returns totalSupply is not a function. why?

Please share the code here and the exact error that you see.

thanks, I've figured it out

thanks, I've figured it out