very rough and simple parser. can only parse transactions with 1 input and 1 output