pub fn script_data_hash(
redeemers_cbor: &[u8],
datums_cbor: Option<&[u8]>,
cost_model_v3: &[i64],
) -> Result<Hash<32>>Expand description
The script data hash of a Plutus V3 transaction: blake2b-256 of its
redeemers, its witness datums if it has any, and the V3 language view
({2: cost model}), each as the transaction encodes them. The same sum
pallas-txbuilder makes, which keeps it private.