getNFTsForContract address param issue

Greetings to everyone.
I am trying to use method getNFTsForContract but get this error


But doc says that this param is optional

I am trying to get all NFTs of all users of the contract to display on the main page of thee application.
Is there something that I am doing wrong? Or maybe it is a bug in the interface?

Thank you for your attention, guys!

Hi @SergeiR

This means that you can specify address manualy or if you are logged in it will fetch your address automatically.

In your case I suggest you to use https://docs.moralis.io/moralis-server/web3-sdk/token#getnftowners

Thank you very much @Yomoo for your suggestion.
Will try it now. :handshake: