pub fn evaluate(
tx_cbor: &[u8],
known: &[Resolved],
cost_model_v3: &[i64],
network_flag: bool,
) -> Result<Value>Expand description
Measures every script in tx_cbor against known, the UTxOs it spends
and reads (from Koios rows, earlier transactions of a chain, or the bundled
references). Answers as Ogmios does: { result: [{ validator: { purpose, index }, budget: { memory, cpu } }] }, or { error: … } naming the
script that failed.