# View-Only Wallets

Railway users can **import a View-Only Wallet**. This wallet will be associated with a 0zk address, and can view transaction history and balances, without being able to spend funds.&#x20;

**WARNING:** *Currently, Viewing Keys grant full transaction viewing access and will permanently display all transactions (including future transactions) to a Viewing Key holder. Viewing Keys cannot be revoked once shared.*&#x20;

### Generating your Shareable Viewing Key

1. **Click "Settings"** in the bottom left **then "Wallets"**.

<figure><img src="/files/LLiWopdSJ5oZYY3ucKqA" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/mFxYNvRQX4KihX0qMEhL" alt=""><figcaption></figcaption></figure>

2. Here, you can view/modify wallet settings. **Click on your wallet and then "Show View-Only Private Key"**.

   <figure><img src="/files/y6llLmzlAe8vsb4YbYhl" alt=""><figcaption></figcaption></figure>
3. This opens a dialog box with clickable text. **Click the text to copy it to your clipboard**.&#x20;

<figure><img src="/files/sxhhnFhQgzhlr2snQTUX" alt=""><figcaption></figcaption></figure>

### Importing a Viewing Key

1. **Click "Settings" then "Wallets"**. **Click "Add Wallet" and "Add view-only wallet" and enter your password.**

<figure><img src="/files/LLiWopdSJ5oZYY3ucKqA" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/6MH5TVLOLDfg611KHq5y" alt=""><figcaption></figcaption></figure>

2. **Name your wallet and paste in the Viewing Key then click "Submit".**

<figure><img src="/files/DfEAr5jIs2BF8UPQ1qa5" alt=""><figcaption></figcaption></figure>

2. **Click "Finish" once the wallet is imported**. *Importing may take up to 20 seconds.*
3. Railway will now sync the balance and transaction history for the Viewing Key. This may take up to 2 minutes. **Click "Activity" to see the decoded transaction history.**

<figure><img src="/files/WyTi8R8bin7UWOqTQBo1" alt=""><figcaption></figcaption></figure>

If you want to try importing a View-Only Wallet, here is an example Viewing Key:&#x20;

82a57670726976d94036663534343366653430366535326262386564663039666166353661356436363639326463613763326561356331626635663231316534366463623638623839a473707562d94066323130306335376166343966656534343334343865316165626365323163653630396439613065333437333864386537633539613639313161643835623239

### Further Info

*View-Only wallets can be useful for recordkeeping purposes – for example, accountants may use View-Only Wallets to view the transaction history of their clients. RAILGUN transactions are entirely private, and only those with View access can see the wallet's decrypted transaction history. Read more about RAILGUN Viewing Keys* [*here*](https://docs.railgun.org/wiki/learn/wallets-and-keys)*.*


---

# 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://help.railway.xyz/setup/view-only-wallets.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.
