Tooling
Module SDK
Modules
getSocialRecoveryMockSignature

⚠️ Deprecation Notice

ModuleSDK was developed by Rhinestone and is no longer actively supported. For new projects, we recommend using the Rhinestone SDK instead.

Rhinestone SDK Documentation (opens in a new tab)

getSocialRecoveryMockSignature

Get the mock signature for the social recovery in order to use for ERC-4337 gas calculations.

Usage

const mockSignature = getSocialRecoveryMockSignature({
  threshold: 2,
})

Parameters

threshold

  • Type: Number

The threshold of the social recovery.

Returns

mockSignature

The mock signature.