ModuleSDK
Modules
getOwnableValidator

getOwnableValidator

Get the ownable validator module object.

Usage

const module = getOwnableValidator({
  threshold: 1,
  owners: ["0x123..."],
});

Parameters

threshold

  • Type: number

The threshold for how many owners are required to validate.

owners

The list of owners.

hook (optional)

The address of the hook to use. This is only required for the Kernel account.

Returns

module

The ownable validator module object.