TransactionInput.deserialize constructor

TransactionInput.deserialize(
  1. CborListValue cbor
)

Deserialize a TransactionInput object from a CBOR list.

Implementation

factory TransactionInput.deserialize(CborListValue cbor) {
  return TransactionInput._(
    TransactionHash.deserialize(cbor.getIndex(0)),
    cbor.getIndex(1),
  );
}