Glossary · Wallets & security

xpub (extended public key)

An extended public key from which all the addresses of a wallet account can be calculated. Nobody can spend bitcoin with it – but anyone who knows it can see your entire account history.

Alsoextended public keyzpubypubmaster public keywatch-only key

Updated 28 September 20262 sources

Under the BIP 32 standard, a whole tree of keys grows from a single seed. The xpub (extended public key) is the public part of one branch, usually a wallet account. All the GlossaryPublic keyCalculated from the private key and used to check your signatures. The calculation only works in one direction: the private key cannot be worked out from the public key.In the glossary → and GlossaryBitcoin addressA string of characters like ‘bc1q…’ that someone can send bitcoin to. It is usually derived from a public key, can be shared without risk to your funds and should be generated afresh for every payment.On the learning path: Stage 5 · Step 4 – First withdrawal →In the glossary → of that account can be derived from it, but no private keys.[1] For Native SegWit accounts (addresses starting ‘bc1q…’), some wallets display it as a zpub.[2]

What it’s needed for

Dive deeperWhy an xpub and a private key must never meet

Anyone who knows the xpub plus the private key of a single address derived from it can calculate all the private keys of the account.[1] That’s why the upper levels of the GlossaryDerivation pathThe route a wallet follows to calculate individual keys from your seed phrase, for example m/84'/0'/0'. If another wallet uses a different path when you restore, it looks empty – even though nothing has been lost.In the glossary → are ‘hardened’ (marked with an apostrophe, as in 84'), so that such a leak stays confined to that one account. So never give out individual private keys.

Related terms

These terms are closely connected.

Explained in depth

These articles go into more detail:

More from „Wallets & security“

Sources2 sources · 1 publishers

The superscript numbers in the text refer to these sources.

  1. BIP 32: Hierarchical Deterministic Wallets – Bitcoin Improvement Proposals (Pieter Wuille), 11.02.2012 (accessed 28/09/2026)
  2. BIP 84: Derivation scheme for P2WPKH based accounts – Bitcoin Improvement Proposals (Pavol Rusnak), 28.12.2017 (accessed 28/09/2026)

This entry is for education only and is not investment, tax or legal advice.

Keyboard shortcuts

⌘K /
Open search
`
Open Bitcoin terminal
T
Toggle light/dark
?
This help

Tip: type “help” in the terminal.

Pre-launch

We’re still building – block by block.

Blockchain21 is already open, and you’re welcome to look around. We haven’t officially launched yet, though: some details are still missing, may change or don’t quite fit together yet.

Not finished yet

  • Email Messages to support@blockchain21.net don’t arrive yet. Until then, you can reach us by post – the address is in the legal notice.
  • Newsletter Sign-up opens once our mailbox is running.
  • Reader account Coming later. Until then, your browser keeps your progress.
  • Partners No partnership is active yet – providers are listed without ads.
  • Info pages The privacy policy still lacks some details.

Already in place: learning path, articles, glossary, calculators and live data.

Block 0 · Genesis — Bitcoin, too, began with block 0 As of 5 October 2026