Added new command (getstakinginfo).