Skip to main content
  • Snap

snap_clearState

Description

snap_clearState clears the state of the Snap.

Parameters

encrypted

boolean | null

Whether to use the separate encrypted state, or the unencrypted state. Defaults to the encrypted state. Encrypted state can only be used if the extension is unlocked, while unencrypted state can be used whether the extension is locked or unlocked.