Credential constructor

Credential(
  1. List<int> hashBytes
)

Constructs a Credential instance with the specified hashBytes.

Implementation

Credential(List<int> hashBytes)
  : data = AdaTransactionUtils.validateFixedLengthBytes(
      bytes: hashBytes,
      length: AdaTransactionConstant.blake2b224DigestSize,
    );