Transaction Evaluator Implementation¶
-
typedef struct cardano_tx_evaluator_impl_t cardano_tx_evaluator_impl_t¶
Opaque structure for a transaction evaluator implementation.
The
cardano_tx_evaluator_impl_tstructure represents an opaque implementation of a transaction evaluator within the Cardano framework. This implementation is intended to encapsulate the logic needed to evaluate transactions.The
cardano_tx_evaluator_impl_tstructure is an internal, opaque structure used to encapsulate the implementation details of a transaction evaluator in the Cardano framework.
-
typedef cardano_error_t (*cardano_tx_evaluate_func_t)(cardano_tx_evaluator_impl_t *tx_evaluator_impl, cardano_transaction_t *tx, cardano_utxo_list_t *additional_utxos, cardano_redeemer_list_t **redeemers)¶
Function pointer type for evaluating a transaction’s execution units.
Evaluates the execution units required by the transaction, considering any additional UTXOs and redeemers.
- Param tx_evaluator_impl:¶
[in] Pointer to the tx evaluator implementation instance.
- Param tx:¶
[in] Transaction to evaluate.
- Param additional_utxos:¶
[in] Additional UTXOs required for evaluation (optional).
- Param redeemers:¶
[in] Redeemers to be evaluated with the transaction.
- Return:¶
Error code indicating success or failure of the operation.