@Override
  public Hash getHash() {
    if (hash == null) {
      memoizeHashAndSize();
    }
    return hash;
  }
Returns the transaction hash.

@return the transaction hash
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/core/Transaction.java