# Wallet

As in many occasions the users of the XchainJS library use several [clients](/xchainjs/clients.md) together, to facilitate the handling we have created the Wallet class. It allows to group a set of clients under the same object and interact with them in a homogeneous way.

You can consult here the [API](https://docs.xchainjs.org/xchain-docs/xchain-wallet/docs/classes/Wallet.html) of this class, or work live with our example.

{% embed url="<https://codesandbox.io/p/devbox/github/xchainjs/xchainjs-lib/tree/master/examples/wallet>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://xchainjs.gitbook.io/xchainjs/wallet.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
