Skip to Content
Anuma SDKReactInternalInterfacesRequestEncryptionKeyOptions

RequestEncryptionKeyOptions

Defined in: src/react/useEncryption.ts:80 

Options for requestEncryptionKey.

Properties

force?

optional force: boolean

Defined in: src/react/useEncryption.ts:88 

When true, re-derive and replace any existing in-memory keys for this address. Default false preserves the historical “if present, return” short-circuit. Prefer refreshEncryptionKeyIfMatches when the caller has ciphertext that must keep working — force-replace can pin a newly derived wrong key over a still-valid one.

Last updated on