> For the complete documentation index, see [llms.txt](https://space-vizsla.gitbook.io/moonpup-bot-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://space-vizsla.gitbook.io/moonpup-bot-guide/moonpup-guide/wallet-management-checking-balances-and-wallet-utility-commands.md).

# Wallet Management - Checking Balances and Wallet Utility Commands

These commands will help you manage your wallet(s) on MoonPup and get the most out of the MoonPup's functionality.

## Commands

### ***/balance***

**Description:** Used to check the balances of your MoonPup linked wallet(s).

{% hint style="success" %}
**Optional Input:** *address:* You may optionally specify a public Solana address to get balances of the specified public key.
{% endhint %}

{% hint style="info" %}
This command must be used in a direct message with the MoonPup bot.
{% endhint %}

![/balance command return](https://1266585501-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9BNUXXKKbXJKxIum90KV%2Fuploads%2FWhR7NlGOA8w0vz7fc5Py%2Fbalance.PNG?alt=media\&token=d638a3f7-a93f-43f5-a6a0-0c81e7cdea1d)

### ***/check\_user***

**Description:** Used to check if a user has a MoonPup wallet and minted token account. Returns true or false for each check in an ephemeral (private) message.

{% hint style="success" %}
**Required Input:** *user:* specify a user to check in the format @user.&#x20;
{% endhint %}

{% hint style="success" %}
**Optional Input:** *token\_mint:* specify a token mint to check if the user specified has a token account minted for the specified token. If left blank, the server or user default token will be used.
{% endhint %}

{% hint style="info" %}
It is recommended to use this command in server channels.
{% endhint %}

![/check\_user usage example](https://1266585501-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9BNUXXKKbXJKxIum90KV%2Fuploads%2FWN2ezhx36glnzRxwf6ZH%2Fcheckuser1.PNG?alt=media\&token=59eab56e-1bb8-4594-b776-14992c687ad4)

![/check\_user return](https://1266585501-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9BNUXXKKbXJKxIum90KV%2Fuploads%2FQ0XhljrChO8rVnUs1RTk%2Fcheckuser2.PNG?alt=media\&token=c94bde6b-c520-44ad-92e6-fdbf4e3ff060)

### ***/find\_mint\_address***

**Description:** Returns a token mint address given the token's ticker.

{% hint style="success" %}
**Required Input:** *ticker:* example: SVIZ, MOLA, SOLAB, SAMO. Can be upper or lower case, command is not case sensitive.
{% endhint %}

### ***/get\_token\_value\_usd***

**Description:** Get the current USD price for an SPL token (powered by [Jupiter Aggregator](https://wwww.jup.ag))

{% hint style="success" %}
**Required Input:** *ticker:* example: SVIZ, MOLA, SOLAB, SAMO. Can be upper or lower case, command is not case sensitive.
{% endhint %}

{% hint style="success" %}
**Optional Input:** *amount:* Input a number to calculate the total value for a given amount of tokens.
{% endhint %}

### ***/show\_default\_token***

**Description:** Shows the current default token used by your MoonPup wallet for token sends. This will return a server default token if used in a server with a default token set. If used in a direct message or server without a default token, your global default token will be shown.

{% hint style="info" %}
This command can be used in servers or in direct messages. Note: server default token settings take precedence over user global default token settings.
{% endhint %}

### ***/show\_my\_address***

**Description:** Shows your current default Solana public key linked with MoonPup.

{% hint style="info" %}
Can be used in servers or in direct messages with MoonPup.
{% endhint %}

### ***/show\_my\_nfts***

**Description:** Displays a flip-book style embed message showing any NFTs in your default MoonPup wallet.

{% hint style="info" %}
Can be used in servers or in direct messages with MoonPup.
{% endhint %}

![/show\_my\_nfts return](https://1266585501-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9BNUXXKKbXJKxIum90KV%2Fuploads%2FDIcHXRsgLAexBGVqk2UT%2Fshow_my_nfts2.PNG?alt=media\&token=4bcddb67-9bcf-4582-aa2b-a88579f3479e)

### ***/show\_my\_secret\_key***

**Description:** Sends you an ephemeral (private) message with your default wallet's private key.&#x20;

{% hint style="danger" %}
Do not share your private key with anyone. MoonPup support will never ask for your private key. This should only be used if you need to export a MoonPup created wallet to another source (e.g. Phantom, Sollet, Solflare, ect).&#x20;
{% endhint %}

{% hint style="info" %}
Can be used in servers or in direct messages with MoonPup. (When used in servers others will not see your secret key because it is returned in an ephemeral message!)
{% endhint %}

### ***/show\_role\_reward\_rules***

**Description:** Shows any role-reward rules your server has set up for token holdings. (example: hold 1000000 SVIZ and get role @Rocket K-9 Elite). Use [/*verify\_roles*](#verify_roles-1) to verify when you meet the requirement.

{% hint style="info" %}
Command must be used in a server.
{% endhint %}

### ***/wallet\_change\_default\_token***

**Description:** This command is used to set your wallets global default token. Note: server settings take precedence over your global settings. Server default tokens will be used when using transaction commands in a server with a default token set. Global default settings will be used when token transaction commands are used in direct messages or servers without a default token set.

{% hint style="success" %}
**Required Input:** *token\_mint\_address:* The mint address for the token you would like to specify as your global default.
{% endhint %}

{% hint style="info" %}
Can be used in servers or in direct messages with MoonPup.
{% endhint %}

### ***/wallet\_list***

**Description:** Lists all wallets you have linked with MoonPup (You can have up to 5 wallets.)

{% hint style="info" %}
This command must be used in a direct message with the MoonPup bot.
{% endhint %}

### ***/wallet\_remove***

**Description:** This command is used to remove wallets linked with MoonPup. The command lists your wallets and you will be prompted to select which wallet to remove.

{% hint style="info" %}
This command must be used in a direct message with the MoonPup bot.
{% endhint %}

![/wallet\_remove usage example](https://1266585501-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9BNUXXKKbXJKxIum90KV%2Fuploads%2FajEDvpAPcFlhGymQFdCU%2Fremove1.PNG?alt=media\&token=e9e0e5ff-8053-4f67-95bc-a0f5b4c0d789)

![/wallet\_remove usage example](https://1266585501-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9BNUXXKKbXJKxIum90KV%2Fuploads%2Fh6xUyVheObaC7Tv8qmri%2Fremove2.PNG?alt=media\&token=79676a67-b705-4ac0-99c3-ee3c659a845c)

![/wallet\_remove usage example](https://1266585501-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9BNUXXKKbXJKxIum90KV%2Fuploads%2FZ4tfKPmlQemK4LfcxHeU%2Fremove3%20\(2\).png?alt=media\&token=1d2f8f91-7da5-42e8-b450-f4044da9864d)

### ***/wallet\_set\_default***

**Description:** This command is used to change which wallet you want to use as your default for transactions. When sending or receiving your default wallet will always be used.&#x20;

{% hint style="info" %}
This command must be used in a direct message with the MoonPup bot.
{% endhint %}

![/wallet\_set\_default usage example](https://1266585501-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9BNUXXKKbXJKxIum90KV%2Fuploads%2FWkIg0bCZfyeevJkjJioU%2Fsetdefault1.PNG?alt=media\&token=fd9fa896-b245-4dba-a86d-fbc7f6a81cd7)

![/wallet\_set\_default usage example](https://1266585501-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9BNUXXKKbXJKxIum90KV%2Fuploads%2Fhllw9JxTQFQFJvR0dNV4%2Fsetdefault2.PNG?alt=media\&token=212c12cb-2e0a-4447-b51a-dc77784de8f9)

### ***/verify\_roles***

**Description:** Use this command to gain token or NFT holding based roles in your server. This uses server specific holding requirements. To see server holding requirement rules use [*/show\_role\_reward\_rules*](#verify_roles)*.*

{% hint style="info" %}
Command must be used in a server.
{% endhint %}

### ***/view\_nft***

**Description:** View any NFT by specifying the NFT's mint address.

{% hint style="success" %}
**Required Input:** *nft\_mint\_address:* The mint address for the NFT to view.
{% endhint %}

![Usage example using an NFT mint address](https://1266585501-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9BNUXXKKbXJKxIum90KV%2Fuploads%2FzFEu4lt9R7SpKCCLp5R4%2FviewNFT1.PNG?alt=media\&token=0856b0d5-2436-4c95-acc1-7253233a0344)

<div align="left"><img src="https://1266585501-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9BNUXXKKbXJKxIum90KV%2Fuploads%2F1mDhnV1mmAAaUwTLc7KM%2FviewNFT2.PNG?alt=media&amp;token=30a7e13a-42b0-4f68-93cb-261d616c2279" alt="Usage example output"></div>
