displayaddress

The displayaddress RPC experimental

*bitcoin-cli help displayaddress

Usage:

 --fingerprint= (--testnet) displayaddress --desc descriptor

Example, display the first native SegWit receive address on Testnet:

 --fingerprint=00000000 --testnet displayaddress --desc "wpkh([00000000/84h/1h/0h]tpubDDUZ..../0/0)"

The command MUST be able to figure out the address type from the descriptor.

If contains a master key fingerprint, the command MUST fail if it does not match the fingerprint known by the device.

If contains an xpub, the command MUST fail if it does not match the xpub known by the device.

The command MAY complain if --testnet is set, but the BIP32 coin type is not 1h (and vice versa).