Refactor - get unsigned transaction from the websocket