Calculates the correct script data hash for a transaction
Separate from the getScriptData method in TxBuilder to allow for more thorough testing This is heavily documented here: https://github.com/IntersectMBO/cardano-ledger/blob/master/eras/conway/impl/cddl-files/conway.cddl#L423-L490
getScriptData
TxBuilder
The redeemers of the transaction
The datums in the witness set of the transaction
The cost models for any languages used in the transaction
Calculates the correct script data hash for a transaction
Separate from the
getScriptData
method inTxBuilder
to allow for more thorough testing This is heavily documented here: https://github.com/IntersectMBO/cardano-ledger/blob/master/eras/conway/impl/cddl-files/conway.cddl#L423-L490