Type of the modular smart account, extending ModularSmartAccount or undefined.
Creates multiple sessions for a modular smart account. This differs from grantPermission in that it defers the moment that the permission is granted on chain to the moment that the redemption user operation is sent/redeemed. It is also known as "ENABLE_MODE". It is the default mode for the grantDeferredPermission function.
A promise that resolves to the creation response.
Parameters for creating sessions.
Creates multiple sessions for a modular smart account. This differs from grantDeferredPermission in that it grants the permission on chain immediately. It is also known as "USE_MODE", and it means that the permission is granted on chain immediately, and the permission is later redeemed when the user operation is sent.
A promise that resolves to the creation response.
Parameters for creating sessions.
Prepares permission for a modular smart account.
A promise that resolves to the transaction hash.
Parameters for preparing permission.
Defines the shape of actions available for creating smart sessions.