shouldUpdateSessionKey

Checks if the session key should be updated.

function shouldUpdateSessionKey(args: {
accountContract: Readonly<ContractOptions<[], `0x${string}`>>;
newPermissions: AccountPermissions;
sessionKeyAddress: string;
}): Promise<boolean>;

Parameters

Type

let args: {
accountContract: Readonly<ContractOptions<[], `0x${string}`>>;
newPermissions: AccountPermissions;
sessionKeyAddress: string;
};

Returns

let returnType: Promise<boolean>;

A boolean indicating if the session key should be updated.