> For the complete documentation index, see [llms.txt](https://pepympus.gitbook.io/pepympus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pepympus.gitbook.io/pepympus.com/methods/getusedwallet.md). Agents can also search and read this documentation through its [MCP server](https://pepympus.gitbook.io/pepympus.com/~gitbook/mcp).

# getUsedWallet

The `getUsedWallet` method analyzes a list of wallet addresses and identifies the wallet type they are potentially using. Supported wallet types include **Phantom**, **Solflare**, **Mobile Wallet Adapter**, **Trust**, **Magic Eden, etc**, or `none` if no match is found.

```arduino
POST https://pepympus.com/api/v1/getUsedWallet
```

### **Request Body**

The request body should be in JSON format and include the following parameter:

| Parameter | Type    | Description                            |
| --------- | ------- | -------------------------------------- |
| `wallets` | `array` | A list of wallet addresses to analyze. |

***

**Example Request Body**

```json
{
  "wallets": [
    "6QSc2CxSdkUQSXttkceR9yMuxMf36L75fS8624wJ9tXv",
    "8deJ9xeUvXSJwicYptA9mHsU2rN2pDx37KWzkDkEXhU6",
    "4YSFTbxkT1ux77s9eZr87aZFEq66xU3wagUPoJqDkLNL"
  ]
}
```

***

### **Example Response**

```json
{
  "status": "success",
  "data": {
    "wallets": [
      {
        "wallet": "6QSc2CxSdkUQSXttkceR9yMuxMf36L75fS8624wJ9tXv",
        "used_wallet": "Phantom"
      },
      {
        "wallet": "8deJ9xeUvXSJwicYptA9mHsU2rN2pDx37KWzkDkEXhU6",
        "used_wallet": "Solflare"
      },
      {
        "wallet": "4YSFTbxkT1ux77s9eZr87aZFEq66xU3wagUPoJqDkLNL",
        "used_wallet": "none"
      }
    ]
  }
}
```

**Response Fields**

| Field         | Type     | Description                                                                                                         |
| ------------- | -------- | ------------------------------------------------------------------------------------------------------------------- |
| `wallet`      | `string` | The wallet address being analyzed.                                                                                  |
| `used_wallet` | `string` | The identified wallet type (`Phantom`, `Solflare`, `Mobile Wallet Adapter`, `Trust`, `Magic Eden, etc,` or `none`). |

{% hint style="info" %}
Unfortunately, this page is currently under development and will be updated as new information becomes available. You may notice some discrepancies with the actual development stage. If you encounter any issues, please don’t hesitate to contant us.
{% endhint %}
