LearnFundamentals

What is an XPUB, and what can someone do with it?

An XPUB lets a service derive your receiving addresses and watch payments arrive. It cannot sign or move funds, so it is all a payment platform needs.

An XPUB, or extended public key, lets someone find the receiving addresses in a wallet account and watch payments arrive. That person can keep finding fresh addresses as the business uses them. The XPUB alone gives them no way to sign a transfer or spend the funds.

An extended key belongs to one branch of a wallet

A hierarchical deterministic wallet derives a tree of keys from a seed. A business can use a fresh receiving address for each order and recover the keys from the same backup. The part of the tree you share determines which addresses someone else can find.

KeyWhat the holder can deriveSpending authority
Extended private key (XPRV)Private and public keys below that point in the treeCan sign for the derived keys
Extended public key (XPUB)Public keys on branches that support public derivationCannot sign
A magnifying glass views the compartments of a closed blue vault through its window, while a separate brass key rests beside the lock.

A receiving address and an account XPUB reveal different histories

A customer checking a receipt can use its transaction reference to inspect the payment. If you share one receiving address, the customer can also look up other public transfers involving that address. The address alone gives them no list of the next addresses your wallet will use.

An accountant reviewing a dedicated receiving account has a different question: which payments arrived across all its addresses? With the account XPUB and the wallet's address format and derivation path, they can derive successive addresses and check each one's history. A branch that requires private-key derivation, also called a hardened branch, is outside the scope of that XPUB.

A blue and white ceramic sculpture branches from one root into many receiving bowls, with a small object resting in one bowl.

Moving funds leaves a public transfer

When a business sends funds from one of those addresses on a transparent blockchain, the outgoing transaction remains visible. Someone watching the account can inspect its outputs and follow later public transfers. The transaction alone does not establish who controls a destination address.

A separate wallet account can limit which addresses an accountant derives from the shared XPUB. Moving funds to that account still leaves a public transaction connecting the addresses involved. Use a single receipt for a customer asking about one payment, and reserve the account XPUB for someone who needs an ongoing view of the business.

Watching an account does not require spending access

An accountant can review incoming payments while the merchant keeps the private keys needed to spend them. Treat the XPUB as confidential business information. Once someone has a copy, removing their access to a dashboard cannot take away their ability to watch the addresses they can derive.

With TLY Pay

TLY Pay uses a watch-only key for supported wallets. The Security page explains who holds the spending keys. Reconciliation shows the order and transaction records a merchant can review, and the FAQ covers access to funds if the merchant stops using the service.

Terms in this article

XPUB
An extended public key lets its holder derive child public keys along non-hardened branches.
XPRV
Extended private key. Derives the private keys of the same account and can sign; never shared.
HD wallet
Hierarchical deterministic wallet. Derives a whole tree of keys from one seed phrase.
Watch-only
Able to observe addresses and balances without any ability to spend from them.

See it in TLY Pay

Common questions

Can someone steal funds with my XPUB?

No. An XPUB only derives public addresses. Spending requires the private keys, which come from your seed phrase and never leave your wallet.

Is sharing an XPUB a privacy risk?

Yes. A reader with the account XPUB and the wallet path can find successive receiving addresses and inspect their public history. Share a transaction reference when someone only needs to check one payment.

Why does TLY Pay ask for an XPUB instead of a single address?

A fresh address per order keeps payments separable and reconcilable. Deriving those addresses from an XPUB means the platform never needs anything that can sign.

What happens to my XPUB if I stop using TLY Pay?

Your wallet keeps working exactly as before. The XPUB never gave the platform control, so nothing has to be handed back or revoked to keep your funds.

Read next

  1. Two open ruled account books sit side by side with identical three-dash marks on their cover tabs; a single blue disc rests in the first row of the left book, and the right book is empty.

    Why one wallet shows different balances on each network

    One wallet can show the same address on Ethereum and Base. Learn where a token transfer appears and which network to check before you send a payment.

  2. A glass-fronted counter displays a wide slip with an arrow between two circles, while a clip on the rear ledge holds a narrow receipt showing a cup, a saucer and the same arrow motif.

    What can someone see from a blockchain payment?

    See which details a public token transfer reveals, what a receipt can add, and why removing a receipt leaves the transfer visible on the network.

Take your first payment

Create a free account, connect your wallet and start accepting payments with no approval wait.