Bitcoin Forum
September 30, 2025, 09:01:31 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Get pubKey for an address using bitcoin-cli on: July 09, 2024, 11:10:18 AM
Howdy tech folks,

I would greatly value your expertise in retrieving my wallet's public key for a given address.

What I currently understand:
  • The scriptPubKey no longer contains the public key for Taproot addresses.
  • The bitcoin-cli commands `validateaddress` and `getaddressinfo` no longer return the pubKey.
  • The addresses in question have been receive addresses so far and have not submitted any transactions from which I could retrieve the pubKey.

The only way I can currently identify is to dump the private key from bitcoin-cli, import it into bitcoin-js, and then get the pubKey. But I really, really want to avoid this.

I appreciate any advice or hints.

Thanks a lot! BTC

Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!