pinataGateway
Usage
Returns
Returns the data in the form ofJSON, string, or Blob as well as the ContentType
Parameters
cid
- Type:
string
optimizeImage (Optional)
- Type: OptimizeImageOptions
Pinata SDK gateways.private.get fetches a private IPFS file through your configured Dedicated Gateway. Requires the org:files:write permission.
pinataGateway
JSON, string, or Blob as well as the ContentType
string