Raddad88
Raddad88
sorry, use this instead let collection = allNFTs.map(e => { return { metadata: JSON.parse(e.metadata), token_id: e.token_id }; }); let metadata = collection.map(e => e.metadata); console.log(metadata.length); for (let i = 0;...
you would replace the line with let metadata = allNFTs.map((e) => JSON.parse(e.metadata).attributes); with let collection = allNFTs.map(e => { return { metadata: JSON.parse(e.metadata), token_id: e.token_id }; }); let metadata =...
where is this?