async function main() {
// Contract address
const address = "0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D";
// Flag to omit metadata
const omitMetadata = false;
// Get all NFTs
const { nfts } = await alchemy.nft.getNftsForContract(address, {
omitMetadata: omitMetadata,
});
let i = 1;
for (let nft of nfts) {
console.log(`${i}. ${nft.rawMetadata.image}`);
i++;
}
}
main();
I used above code to get all NFTs ipfs info from one collection But it only return 100 as in the result. This is the bored ape nft contract address I provided, it should have returned 10K items. What did I miss here? thank you