I run the following Moralis code in order to get the owner of a specific NFT:
“const options = { address: “0xcbc67ea382f8a006d46eeeb7255876beb7d7f14d”, chain: “” };
const nftOwners = await Moralis.Web3API.token.getNFTOwners(options);
console.log(“nftOwners”, nftOwners.result)”
What is confusing is that the above code yields, what seems to be an array of 500 objects/owners.
Being new to Moralis, I am not sure how to interpret this. Does the array of objects/owners suggest that this NFT has historically had 500 owners?
If so, am I right in assuming that to get the current owner, all I have to do is add to code:
console.log("CurrentNFT Owner: ", nftOwners.result[nftOwners.result.length - 1].owner_of): ?