Interface PinataResponse

Response object returned by Pinata API after a successful upload

interface PinataResponse {
    IpfsHash: string;
    PinSize: number;
    Timestamp: string;
    isDuplicate?: boolean;
}

Properties

IpfsHash: string

IPFS content identifier (CID) of the uploaded file

PinSize: number

Size of the pinned content in bytes

Timestamp: string

Timestamp of when the file was pinned

isDuplicate?: boolean

Indicates if the file was already pinned previously