The on-chain identity of the application
The class of computation, e.g., "llm_inference"
Array of file IDs to grant permission for
The full, off-chain parameters (e.g., LLM prompt)
Optional
grantOptional pre-stored grant URL to avoid duplicate IPFS storage
Optional
nonceOptional nonce for the permission
Optional
expiresOptional expiration time for the permission
Parameters for granting data access permission to an application.
This interface defines the required and optional parameters when granting an application permission to access specific files for a particular operation. Used with
vana.permissions.grant()
.Example