Submit a transaction for execution units evaluation
POST /utils/txs/evaluate
Submit an already serialized transaction to evaluate how much execution units it requires.
Hosted Endpoint only available for hosted variant.
Request
Header Parameters
Content-Type string required
Possible values: [application/cbor
]
application/cbor
Body
required
The transaction to submit, serialized in CBOR.
- string
The transaction to submit, serialized in CBOR.
Responses
- 200
- 400
- 403
- 404
- 418
- 425
- 429
- 500
Returns result of EvaluateTx function from Ogmios see EvaluateTxand API reference (EvaluateTxResponse) for related errors.
application/json
Schema
Example (from schema)
Schema
property name* any
{}
Bad request
application/json
Schema
Example (from schema)
Schema
status_code integer required
error string required
message string required
{
"status_code": 400,
"error": "Bad Request",
"message": "Backend did not understand your request."
}
Authentication secret is missing or invalid
application/json
Schema
Example (from schema)
Schema
status_code integer required
error string required
message string required
{
"status_code": 403,
"error": "Forbidden",
"message": "Invalid project token."
}
Component not found
application/json
Schema
Example (from schema)
Schema
status_code integer required
error string required
message string required
{
"status_code": 404,
"error": "Not Found",
"message": "The requested component has not been found."
}
IP has been auto-banned for extensive sending of requests after usage limit has been reached
application/json
Schema
Example (from schema)
Schema
status_code integer required
error string required
message string required
{
"status_code": 418,
"error": "Requested Banned",
"message": "IP has been auto-banned for flooding."
}
Mempool is already full, not accepting new txs straight away
application/json
Schema
Example (from schema)
Schema
status_code integer required
error string required
message string required
{
"status_code": 425,
"error": "Mempool Full",
"message": "Mempool is full, please try resubmitting again later."
}
Usage limit reached
application/json
Schema
Example (from schema)
Schema
status_code integer required
error string required
message string required
{
"status_code": 429,
"error": "Project Over Limit",
"message": "Usage is over limit."
}
Internal Server Error
application/json
Schema
Example (from schema)
Schema
status_code integer required
error string required
message string required
{
"status_code": 500,
"error": "Internal Server Error",
"message": "An unexpected response was received from the backend."
}
Loading...