The CID of the file to fetch.
The type of the file ('meta' for JSON and 'asset' for binary data).
A promise that resolves with the file data as a string or a Uint8Array.
fetchFromIPFS
Will throw an error if the fetch fails.
Generated using TypeDoc
Fetches a file from IPFS via the Pinata gateway.