ModuleSDK
Modules
getOwnableValidatorMockSignature

getOwnableValidatorMockSignature

Get the mock signature for the ownable validator in order to use for ERC-4337 gas calculations.

Usage

const mockSignature = getOwnableValidatorMockSignature({
  threshold: 1,
});

Parameters

threshold

  • Type: number

The number of signatures required to validate the ownable validator. This is required to calculate the gas cost for the UserOperation.

Returns

mockSignature

The mock signature.