How can I list my mined coins using RPC? And spend them? I've mined a few blocks on a blockchain, and I'm trying to figure how to actually see them. What is the correct RPC command ? I've managed to see all the coinbase transactions thanks to listtransactions, and my getbalance output seems ok, but they don't show up in listreceivedbyaddress nor listreceivedbyaccount.
You can use the listsinceblock command to filter out the mined coins. listsinceblock contains a category field. The values you're looking for are:


generate: for coins mined locally that are available for spending
immature: same as above but coins cannot be spent yet