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

    Interface GrantPermissionParams

    Parameters for the vana.permissions.grant method.

    interface GrantPermissionParams {
        grantee: `0x${string}`;
        operation: string;
        files: number[];
        parameters: Record<string, unknown>;
        grantUrl?: string;
    }
    Index

    Properties

    grantee: `0x${string}`

    The on-chain identity of the application

    operation: string

    The class of computation, e.g., "llm_inference"

    files: number[]

    Array of file IDs to grant permission for

    parameters: Record<string, unknown>

    The full, off-chain parameters (e.g., LLM prompt)

    grantUrl?: string

    Optional pre-stored grant URL to avoid duplicate IPFS storage