Blockchain Indexer API
Transactions

Evaluate redeemers of a transaction

1min
POST
https://mainnet.gomaestro-api.org/v1/transactions/evaluate
Cardano Mainnet

Executes the redeemers of a transaction in order to compute how many execution units are needed for each, without submitting the transaction to the chain and without requiring the transaction to be fully-valid.

Useful during transaction building to compute what budget should be used for each redeemer.

Note that all transaction inputs and reference inputs must be able to be resolved (we must be able to find the contents of that UTxO by finding the UTxO on-chain) in order to evaluate the transaction. If your transaction contains any inputs which may not be found on-chain at the time of evaluation, for example if you are transaction chaining, then you must pass in these inputs and their corresponding transaction output bytes as additional UTxOs.

Authentication
api-key
Body Parameters
body
*
additional_utxos
cbor
*
Responses
200
Details of executed redeemers
Example
[{"redeemer_tag":"spend","redeemer_index":0,"ex_units":{"mem":426418,"steps":125361025}},{"redeemer_tag":"spend","redeemer_index":1,"ex_units":{"mem":385832,"steps":113607371}},{"redeemer_tag":"mint","redeemer_index":0,"ex_units":{"mem":388722,"steps":111814261}}]
Description
Identifier of an evaluated redeemer and the execution units required to execute it
ex_units
*
redeemer_index
*
redeemer_tag
*
400
Malformed query parameters
404
No results found
500
Internal server error