displayaddress

signer dangerous since 22.0.0

experimental

Share: X Bluesky Mastodon Reddit HN
↑ shares the docs page. Use Share this query below for a link with your current arg values.
Not executable from the web. Would harm the node, the network, or expose secrets. Documentation only, never executable from the web.
Call from your own code

Replace $BITCOIN_RPC_USER / $BITCOIN_RPC_PASSWORD with credentials from your bitcoind's bitcoin.conf, and replace localhost:8332 with your node's RPC address. You can't run this RPC against our node, but you can run it against your own bitcoind.

Help

Usage:

<cmd> --fingerprint=<fingerprint> (--testnet) displayaddress --desc descriptor

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

<cmd> --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).
← back to all RPCs