Hi moralis team,
I have one issue using moralis apis for ERC1155.
I have several ERC-1155 nfts now.
So, I tried to get all owners from the ERC-1155 NFTs using getTokenIdOwners functions.
But, it returns 400 error(limit error) because this function has too many requests(maybe 20 requests)
This Moralis Server is rate-limited because of the plan restrictions. See the details about the current rate and throttle limits: {โx-rate-limit-limitโ:โ25โ,โx-rate-limit-remaining-ttlโ:โ5โ,โx-rate-limit-usedโ:โ40โ,โx-rate-limit-remaining-ip-ttlโ:โ5โ,โx-rate-limit-ip-usedโ:โ40โ}
for (let nft of NFTs) {
let metadata = null;
//get metadata
const options = {
address: nft.token_address,
token_id: nft.token_id,
chain: process.env.REACT_APP_CHAIN_ID
};
const result = await Moralis.Web3API.token.getTokenIdOwners(options);
โฆ โฆ
}
How can I fix this issue?
Hope your quick help.
Regards.