const options = { address: "0x26Be870A5c9f45D5b2eEb247bCB19452c623D84b",token_id: r, chain: "rinkeby" };
let NFTOmeta = await Moralis.Web3API.token.getTokenIdMetadata(options);
const NFTO = JSON.parse(NFTOmeta);
I am able to get the metadata from the contract but it comes in the { attribute: attribute: } format.
I require NFTOmeta.metadata.attribute but cannot get it and cannot parse it to NFTO.
How do i get the attribute from the metadata to be used as a property in my code