Documentation exported from Bitcoin Core 0.21.0

keypoolrefill (0.21.0 RPC)

blockchain

control

generating

mining

network

rawtransactions

util

wallet

zmq

keypoolrefill ( newsize )

Fills the keypool.
Requires wallet passphrase to be set with walletpassphrase call if wallet is encrypted.

Arguments:
1. newsize    (numeric, optional, default=100) The new keypool size

Result:
null    (json null)

Examples:
> bitcoin-cli keypoolrefill 
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "keypoolrefill", "params": []}' -H 'content-type: text/plain;' http://127.0.0.1:8332/