Interface SendUserOpParams

interface SendUserOpParams {
    additionalSessionData?: string;
    batchSessionParams?: SessionParams[];
    danModuleInfo?: DanModuleInfo;
    sessionID?: string;
    sessionSigner?: SupportedSigner;
    sessionValidationModule?: `0x${string}`;
    simulationType?: SimulationType;
}

Hierarchy (view full)

Properties

additionalSessionData?: string

Additional info if needed to be appended in signature

batchSessionParams?: SessionParams[]

Batch session params

danModuleInfo?: DanModuleInfo

Dan module info

sessionID?: string
sessionSigner?: SupportedSigner

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

sessionValidationModule?: `0x${string}`

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.

simulationType?: SimulationType

"validation_and_execution" is recommended during development for improved debugging & devEx, but will add some additional latency to calls. "validation" can be used in production ro remove this latency once flows have been tested.