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

    Interface UploadEncryptedFileResult

    Result of uploading an encrypted file to storage and blockchain

    interface UploadEncryptedFileResult {
        url: string;
        size: number;
        checksum?: string;
        encryption?: EncryptionInfo;
        fileId: number;
        transactionHash?: `0x${string}`;
    }

    Hierarchy (View Summary)

    Index

    Properties

    url: string

    Public URL where the uploaded file can be accessed.

    size: number

    Actual file size in bytes after upload processing.

    checksum?: string

    Hash value for verifying file integrity after upload.

    encryption?: EncryptionInfo

    Encryption metadata when file was encrypted before storage.

    fileId: number

    The new file ID assigned by the DataRegistry

    transactionHash?: `0x${string}`

    Transaction hash of the file registration