Type alias SmartSessionCreateActions<TModularSmartAccount>

SmartSessionCreateActions<TModularSmartAccount>: {
    grantDeferredPermission: ((args) => Promise<PreparePermissionResponse>);
    grantPermission: ((args) => Promise<GrantPermissionResponse>);
    preparePermission: ((args) => Promise<PreparePermissionResponse>);
}

Defines the shape of actions available for creating smart sessions.

Type Parameters

  • TModularSmartAccount extends ModularSmartAccount | undefined

    Type of the modular smart account, extending ModularSmartAccount or undefined.

Type declaration