generatetoaddress¶
generatetoaddress nblocks "address" ( maxtries )
Mine blocks immediately to a specified address (before the RPC call returns)
Result¶
[ (json array) hashes of blocks generated
"hex", (string) blockhash
...
]
Examples¶
Generate 11 blocks to myaddress:
lcryp-cli generatetoaddress 11 "myaddress"
If you are using the LcRyp Core wallet, you can get a new address to send the newly generated lcryp to with::
lcryp-cli getnewaddress