pinataGateway
Usage
Returns
Returns the data from the CID in the form ofJSON, string, or Blob as well as the ContentType
Parameters
cid
- Type:
string
Methods
optimizeImage (Optional)
- Type: OptimizeImageOptions
Pinata SDK gateways.public.get fetches a public IPFS file through your configured Pinata Dedicated Gateway and returns its content and metadata.
pinataGateway
JSON, string, or Blob as well as the ContentType
string