Interface PinataUploadOptionsNode

Configuration options for uploading files to Pinata (Node.js)

interface PinataUploadOptionsNode {
    file: string;
    name?: string;
    token: string;
}

Properties

Properties

file: string

The file path to upload

name?: string

Name for the file in Pinata

token: string

Pinata API JWT token for authentication