UNPKG

@biconomy/modules

Version:

This package provides different validation modules/plugins for ERC4337 compatible modular account

15 lines (14 loc) 509 B
/** * Interface for implementing a Session Validation Module. * Session Validation Modules works along with SessionKeyManager * and generate module specific sessionKeyData which is to be * verified by SessionValidationModule on chain. * * @remarks sessionData is of generic type T which is specific to the module * * @author Sachin Tomar <sachin.tomar@biconomy.io> */ export interface ISessionValidationModule<T> { getSessionKeyData(_sessionData: T): Promise<string>; getAddress(): string; }