Type alias ModuleActions

ModuleActions: {
    getStubSignature: (() => Promise<Hex>);
    signMessage: ((message) => Promise<Hex>);
    signUserOpHash: ((userOpHash) => Promise<Hex>);
}

Type declaration

  • getStubSignature: (() => Promise<Hex>)

    Gets the stub signature of the module.

      • (): Promise<Hex>
      • Returns Promise<Hex>

  • signMessage: ((message) => Promise<Hex>)

    Signs a message.

    Returns

    A promise that resolves to a hexadecimal string representing the signature.

      • (message): Promise<Hex>
      • Parameters

        • message: SignableMessage

          The message to sign, either as a Uint8Array or string.

        Returns Promise<Hex>

  • signUserOpHash: ((userOpHash) => Promise<Hex>)

    Signs a user operation hash.

    Returns

    A promise that resolves to a hexadecimal string representing the signature.

      • (userOpHash): Promise<Hex>
      • Parameters

        • userOpHash: Hex

          The user operation hash to sign. // Review:

        Returns Promise<Hex>