newkeypool

Input(s) 0

The newkeypool RPC is used to entirely clear and refill the keypool of a Bitcoin wallet. This process is typically used to generate a new set of keys for receiving transactions.

How is this used?

The newkeypool RPC is utilized to refresh the keypool of a Bitcoin wallet, ensuring that new addresses can be generated for receiving transactions. This process is crucial for maintaining the security and functionality of the wallet, especially in non-HD wallets where key management is not automatic. By clearing and refilling the keypool, users can generate a new set of keys to receive funds securely. It's important to remember that executing this command will require an immediate backup, particularly for non-HD wallets, to include the new keys. Additionally, in cases where backups of HD wallets are restored, running newkeypool followed by a wallet rescan is necessary to ensure that funds received to new addresses are recognized by the wallet.

Request

method

newkeypool

Inputs

Result