Parameters for granting file decryption access during upload.
Remarks
This interface is used to grant decryption access to specific accounts when uploading
encrypted files. It only handles encryption key sharing, not operation permissions.
For granting operation permissions (like "llm_inference"), use the separate
vana.permissions.grant() method after uploading.
Example
// Upload with decryption permission constresult = awaitvana.data.upload({ content:"data", permissions: [{ account:"0xServerAddress...", publicKey:"0x04..."// Server's public key }] });
Parameters for granting file decryption access during upload.
Remarks
This interface is used to grant decryption access to specific accounts when uploading encrypted files. It only handles encryption key sharing, not operation permissions.
For granting operation permissions (like "llm_inference"), use the separate
vana.permissions.grant()method after uploading.Example