Vana SDK - v2.2.2
    Preparing search index...

    Interface AddFilePermissionParams

    Parameters for adding permission to a file

    interface AddFilePermissionParams {
        fileId: number;
        account: `0x${string}`;
        publicKey: string;
    }
    Index

    Properties

    fileId: number

    The file ID to grant permission for

    account: `0x${string}`

    The account to grant permission to

    publicKey: string

    The public key of the account for encryption