the documents (https://docs.moralis.io/moralis-server/web3-sdk/account#getnfts) specify that it is optional to specify the address when making a request, but when I leave the request blank, i get an error saying that Property ‘address’ is missing in type ‘{ chain: “rinkeby”; }’ but required in type ‘{ address: string; }’.
const testnetNFTs = await Moralis.Web3API.account.getNFTs({ chain: 'rinkeby' });
this is the line of code causing the issue.
My goal is to build a web application where users can view their NFTs dynamically thus I do not want to hardcode the address.
I’m new to development, so any form of help would be appreciated!