Vana SDK - v0.1.0
    Preparing search index...

    Interface PermissionParams

    Permission parameters for granting access during file upload.

    Used within UploadParams to grant permissions to applications during the upload process.

    interface PermissionParams {
        grantee: `0x${string}`;
        operation: string;
        parameters: Record<string, unknown>;
        nonce?: bigint;
        expiresAt?: number;
        publicKey?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    grantee: `0x${string}`

    The address of the application to grant permission to.

    operation: string

    The operation type (e.g., "llm_inference").

    parameters: Record<string, unknown>

    Additional parameters for the permission.

    nonce?: bigint

    Optional nonce for the permission.

    expiresAt?: number

    Optional expiration timestamp.

    publicKey?: string

    Public key of the recipient to encrypt the data key for (required for upload with permissions).