Interface CreateSessionDataParams

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

Properties

danModuleInfo?: DanModuleInfo

Dan module info

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