Get Execution Results by Block ID
Changed onGet execution result by provided block ID or multiple block IDs provided as comma-seperated list.
Request
- Base URLhttps://rest-testnet.onflow.org/v1
- URLhttps://rest-testnet.onflow.org/v1/execution_results
- Authnone declared
Query parameters
Single ID or comma-separated list of block IDs.
A comma-separated list indicating which properties of the content to return.
A minimum number of execution receipts for the execution result.
A set of execution node IDs, one of which must have produced the execution result.
Specifies whether or not to include the executor metadata in the response.
Response
OK
Example response
[
{
"metadata": {
"executor_metadata": {
"execution_result_id": null,
"executor_ids": [
null,
null
]
}
},
"_links": {
"_self": "_self"
},
"chunks": [
{
"start_state": "",
"index": "index",
"number_of_transactions": "number_of_transactions",
"collection_index": "collection_index",
"end_state": "",
"event_collection": "",
"block_id": null,
"total_computation_used": "total_computation_used"
},
{
"start_state": "",
"index": "index",
"number_of_transactions": "number_of_transactions",
"collection_index": "collection_index",
"end_state": "",
"event_collection": "",
"block_id": null,
"total_computation_used": "total_computation_used"
}
],
"id": null,
"previous_result_id": null,
"block_id": null,
"events": [
{
"transaction_id": null,
"payload": "",
"transaction_index": "transaction_index",
"type": "type",
"event_index": "event_index"
},
{
"transaction_id": null,
"payload": "",
"transaction_index": "transaction_index",
"type": "type",
"event_index": "event_index"
}
]
}
]Changes
- info
added the new optional
queryrequest parameteragreeing_executors_count - info
added the new optional
queryrequest parameterinclude_executor_metadata - info
added the new optional
queryrequest parameterrequired_executor_ids - info
added the optional property
/to the response with the status
- info
- warning
deleted the
queryrequest parameteragreeing_executors_count - warning
deleted the
queryrequest parameterinclude_executor_metadata - warning
deleted the
queryrequest parameterrequired_executor_ids - warning
removed the optional property
/from the response with the status
- warning