> For the complete documentation index, see [llms.txt](/llms.txt).

# Using iOS SDK

Embedded Wallets provides a comprehensive set of functions to handle authentication, user management, and blockchain interactions in your iOS applications. These functions allow you to implement features like user login, multi-factor authentication, private key retrieval, and Wallet Services with minimal effort. Each function is designed to handle a specific aspect of Embedded Wallets' functionality, making it easy to integrate into your iOS projects.

## List of functions[​](#list-of-functions "Direct link to List of functions")

tip

For detailed usage, configuration options, and code examples, refer to the dedicated documentation page for each function.

### Authentication functions[​](#authentication-functions "Direct link to Authentication functions")

| Function Name                                       | Description                                        |
| --------------------------------------------------- | -------------------------------------------------- |
| [login()](/embedded-wallets/sdk/ios/usage/login/)   | Logs in the user with the selected login provider. |
| [logout()](/embedded-wallets/sdk/ios/usage/logout/) | Logs out the user from the current session.        |

### User management functions[​](#user-management-functions "Direct link to User management functions")

| Function Name                                                   | Description                                     |
| --------------------------------------------------------------- | ----------------------------------------------- |
| [getUserInfo()](/embedded-wallets/sdk/ios/usage/get-user-info/) | Retrieves the authenticated user's information. |

### Private key functions[​](#private-key-functions "Direct link to Private key functions")

| Function Name                                                                   | Description                                                                     |
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| [getPrivKey()](/embedded-wallets/sdk/ios/usage/get-private-key/)                | Retrieve the user's secp256k1 private key for EVM-compatible chains.            |
| [getEd25519PrivKey()](/embedded-wallets/sdk/ios/usage/get-ed25519-private-key/) | Retrieve the user's ed25519 private key for chains like Solana, Near, Algorand. |

### Security functions[​](#security-functions "Direct link to Security functions")

| Function Name                                              | Description                                       |
| ---------------------------------------------------------- | ------------------------------------------------- |
| [enableMFA()](/embedded-wallets/sdk/ios/usage/enable-mfa/) | Enables Multi-Factor Authentication for the user. |
| [manageMFA()](/embedded-wallets/sdk/ios/usage/manage-mfa/) | Allows users to manage their MFA settings.        |

### Wallet Services functions[​](#wallet-services-functions "Direct link to Wallet Services functions")

| Function Name                                                                     | Description                                                       |
| --------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| [launchWalletServices()](/embedded-wallets/sdk/ios/usage/launch-wallet-services/) | Launches the templated wallet UI in WebView.                      |
| [request()](/embedded-wallets/sdk/ios/usage/request/)                             | Opens templated transaction screens for signing EVM transactions. |
