generatetoaddress

generatetoaddress nblocks "address" ( maxtries )

Mines blocks immediately to a specified address before the RPC call completes.

Argument #1 – nblocks

Type: numeric, required

How many blocks are generated immediately.

Argument #2 – address

Type: string, required

The address to send the newly generated bitcoinevo to.

Argument #3 – maxtries

Type: numeric, optional, default=1000000

How many iterations to try.

Result

[           (json array) hashes of blocks generated
  "hex",    (string) blockhash
  ...
]

Examples

Generate 11 blocks to myaddress:

bitcoinevo-cli generatetoaddress 11 "myaddress"

If you are using the BitcoinEvo Core wallet, you can obtain a new address to send the newly generated BitcoinEvo to by using:

bitcoinevo-cli getnewaddress