Type alias SessionParams

SessionParams: {
    additionalSessionData?: string;
    sessionID?: string;
    sessionSigner: SupportedSigner;
    sessionValidationModule?: Hex;
}

Type declaration

  • Optional additionalSessionData?: string

    Additional info if needed to be appended in signature

  • Optional sessionID?: string

    ID of the session

  • sessionSigner: SupportedSigner

    Session Signer: viemWallet or ethers signer. Ingested when passed into smartAccount

  • Optional sessionValidationModule?: Hex

    The session validation module is a sub-module smart-contract which works with session key manager validation module. It validates the userop calldata against the defined session permissions (session key data) within the contract.