# How to View the XPUB of Your Bitcoin Wallet

### What Is an XPUB?

An **XPUB (Extended Public Key)** is a special kind of key in the Bitcoin protocol that allows you to view/generate all of your wallet's public keys (addresses) without revealing any private keys. This is particularly useful if you want to see e.g. all incoming/outgoing transactions for tax purposes.

{% hint style="success" %}
Public and private keys exist in what we call a **keypair** - for each public key, there exists a corresponding private key. The public key is the public receiving address and the private key is what allows you to send funds OUT of that address, similar to how everyone can send you an email, but only you can send an email from your email account.

The XPUB is a master public key that will reveal all possible public keys but none of the private keys. **This means that the XPUB cannot be used to steal your funds in any way.**
{% endhint %}

### How to View Your XPUB

{% hint style="info" %}
This feature is only available on **firmware version 0.18.6** or higher.
{% endhint %}

You can view your XPUB on both the Lattice and the Lattice Manager app.

**On the Lattice, just go to Lattice/SafeCard Wallet → Bitcoin Addresses → Bitcoin XPUBs.**

**On the Lattice Manager, go to BTC Wallet and select the XPUB option.** Please note you have to have an address type selected in **Settings** before you can do this, as the BTC Wallet is hidden by default.

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

And there you go!


---

# 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://docs.gridplus.io/apps-and-integrations/lattice-manager/how-to-view-the-xpub-of-your-bitcoin-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.
