title |
---|
Config |
Overview of the Files SDK Config
import { PinataSDK } from "pinata";
const pinata = new PinataSDK({
pinataJwt: process.env.PINATA_JWT!,
pinataGateway: "example-gateway.mypinata.cloud",
});
- Type:
string
The Pinata API JWT key that authorizes the SDK. Read more about API Keys.
- Type:
string
The domain of the Gateway included with your account. Read more about Gateways.