How to get metadata out of ipfs in react moralis

Hi everyone.

I am facing an issue, according to react-moralis documentation, you can specify metadata object like this:
const metadata = { createdById: “some-user-id” };
const tags = { groupId: “some-group-id” };

saveFile(“batman.jpeg”, file, {
type: “image/jpeg”,
metadata,
tags,
saveIPFS: true,
});
However, when you fetch ipfs url only file is returned. I want to know if there is a way to fetch metadata too. I appreciate the help, thanks a lot already. :slight_smile:

Not sure what you mean by metadata, usually you have to save a different file on ipfs only with metadata, at least that is how is done for nfts.

Yes, generally it is saved to another file but in the docs it seemed like you can save both at the same time so I thought maybe there is a way to fetch the metadata object too.