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.