Iām attempting to follow the docs to getNFTs, but am getting a 400.
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js"></script>
<script src="https://unpkg.com/moralis/dist/moralis.js"></script>
</head>
<body>
<h1>Aww, Rats! The Closet.</h1>
<script>
// connect to Moralis server
Moralis.initialize(I added my Application ID);
Moralis.serverURL = I added my Server URL;
// Get NFTs
async function getNFTs() {
const options = {
chain: "matic",
address: I added my wallet ID
};
const polygonNFTs = await Moralis.Web3API.account.getNFTs(options);
console.log(polygonNFTs);
}
getNFTs();
</script>
</body>
</html>
Anything Iām doing wrong? I checked both the docs and a YouTube video that appears to be from Moralis.