export function decodeTxOutput(bytes: BytesLike): TxOutput
TODO: save the fact that it is an Object or Tuple representation, so that reserializing leads to the same bytes (and thus the same tx hash)
Arguments
1. bytes
bytes: BytesLike
Returns
TxOutput