River Intelligence

Sign up for our curated weekly newsletter delivering exclusive market insights to your inbox.

Invest in Bitcoin.

green checkmark

Human Support

green checkmark

Track Performance

green checkmark

Recurring Buys

Zpub (Extended Public Key)


A zpub is a form of extended public key (xpub) which follows an additional standard defined in BIP 84. Xpubs, ypubs, and zpubs all allow a wallet to generate a deterministic tree of public keys, but each form of extended public key instructs a wallet to derive different address types. Specifically, zpubs instruct a wallet to derive native SegWit addresses, which use either P2WPKH or P2WSH scripts.

P2WPKH is the most common SegWit address type. Unlike P2SH-wrapped P2WPKH addresses, which are generated by ypubs, P2WPKH addresses are not backwards compatible.