added ability to return unsigned tx hex in stdout