generate JSON-RPC command
generate nblocks ( maxtries )
Mine up to nblocks blocks immediately (before the RPC call returns) to an address in the wallet.
1. nblocks (numeric, required) How many blocks are generated immediately. 2. maxtries (numeric, optional) How many iterations to try (default = 1000000).
[ blockhashes ] (array) hashes of blocks generated
Generate 11 blocks > bitcoin-cli generate 11
Bitcoin Cash Node Daemon version v23.0.1-fe11d27
Documentation on docs.bitcoincashnode.org reflects the current master branch in Git, and may include API changes that are not yet present in the latest release.