Writing the rpc responce to the MinerInformation struct and prints it in main