Usage
Parameters
pinataJwt (Optional)
- Type:
string
pinataGateway (Optional)
- Type:
string
pinataGatewayKey (Optional)
- Type:
string
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Configure the Pinata SDK with your JWT, default Dedicated Gateway, custom headers, and network selection so every call uses the right context.
import { PinataSDK } from "pinata";
const pinata = new PinataSDK({
pinataJwt: process.env.PINATA_JWT!,
pinataGateway: "example-gateway.mypinata.cloud",
});
stringstringstring