Cardano » Utilities
Submit a transaction for execution units evaluation
Submit an already serialized transaction to evaluate how much execution units it requires.
<p> <span class="hosted">Hosted</span> Endpoint only available for hosted variant. </p>post/utils/txs/evaluate
Request
- Base URLhttps://cardano-mainnet.blockfrost.io/api/v0
- URLhttps://cardano-mainnet.blockfrost.io/api/v0/utils/txs/evaluate
- AuthAPI key in header project_id
Query parameters
versionnumber
Optional parameter to specify the version of the Ogmios service to use. Default is 5. Set to 6 to use Ogmios version 6.
Headers
Content-Type'application/cbor' required
Request body application/cbor
string required
The transaction to submit, serialized in CBOR.
Response
<p>
<div class="custom-paragraph">
Returns result of EvaluateTx function from Ogmios see <a class="custom-link" href="https://ogmios.dev/mini-protocols/local-tx-submission/#evaluatetx">EvaluateTx</a>
and<a href="https://ogmios.dev/http-api/"> API reference (EvaluateTxResponse)</a> for related errors.
</div>
</p>
object required
Changes
No recorded changes to this operation across all 4 revisions of this API.