Importprivkey
Jump to navigation
Jump to search
importprivkey is an RPC command on bitcoind that allows a private key to be added to a wallet.
The command was added in Bitcoin 0.6.0. Bitcoin Core 30.0 removed it, together with the other RPC commands that only worked with legacy wallets. Legacy wallets can no longer be created or loaded, but they can be moved to the descriptor format with migratewallet.[1]
$ bitcoind help [...] importprivkey <bitcoinprivkey> [label]