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

    Interface GrantedPermission

    Granted permission details

    interface GrantedPermission {
        id: bigint;
        files: number[];
        operation: string;
        grant: string;
        grantee: `0x${string}`;
        grantor: `0x${string}`;
        parameters: Record<string, unknown>;
        active: boolean;
        dataStatus?: string;
        nonce?: number;
        grantedAt?: number;
        expiresAt?: number;
        transactionHash?: string;
        blockNumber?: bigint;
    }
    Index

    Properties

    id: bigint

    Unique identifier for the permission

    files: number[]

    Array of file IDs that the permission applies to

    operation: string

    The type of operation being granted permission for

    grant: string

    Grant file reference (IPFS hash or URL)

    grantee: `0x${string}`

    Address of the application granted permission

    grantor: `0x${string}`

    Address of the user who granted permission

    parameters: Record<string, unknown>

    Custom parameters for the operation

    active: boolean

    Whether the permission is still active

    dataStatus?: string

    Data status for the permission

    nonce?: number

    Nonce used for the permission

    grantedAt?: number

    Timestamp when permission was granted

    expiresAt?: number

    Optional expiration timestamp

    transactionHash?: string

    Transaction hash of the grant transaction

    blockNumber?: bigint

    Block number when permission was granted