Skip to main content

decodeTxOutput

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)

export function decodeTxOutput(bytes: BytesLike): TxOutput