@paystreamer/sdk
    Preparing search index...

    Interface EncryptForPolicyParams

    interface EncryptForPolicyParams {
        client: SealClient;
        data: Uint8Array;
        id: string;
        packageId: string;
        threshold: number;
    }
    Index
    client: SealClient
    data: Uint8Array
    id: string

    The identity to encrypt under, following the namespace-prefix convention your seal_approve policy checks (see /integration) — typically [platform_id][nonce].

    packageId: string

    The Move package ID whose seal_approve function will gate decryption.

    threshold: number

    Number of key servers required to reconstruct the decryption key.