interface CreateSessionDataParams {
    preferredSessionId?: string;
    sessionKeyData: `0x${string}`;
    sessionPublicKey: `0x${string}`;
    sessionValidationModule: `0x${string}`;
    validAfter: number;
    validUntil: number;
}

Properties

preferredSessionId?: string

we generate uuid based sessionId. but if you prefer to track it on your side and attach custom session identifier this can be passed

sessionKeyData: `0x${string}`

The hex of the rules Rule that make up the policy

sessionPublicKey: `0x${string}`

Public key of the session

sessionValidationModule: `0x${string}`

Address of the session validation module

validAfter: number

window start for the session key

validUntil: number

window end for the session key