Interface PinataUploadOptionsBrowser

Configuration options for uploading files to Pinata (Browser)

interface PinataUploadOptionsBrowser {
    file: File;
    name?: string;
    token: string;
}

Properties

Properties

file: File

The File object to upload (from HTML input or drag-drop)

name?: string

Name for the file in Pinata (optional, will use file.name if not provided)

token: string

Pinata API JWT token for authentication