v1

latestOpenAPI 3.0.02026-07-17224996.6 KB
Execution Results

Get Execution Results by Block ID

Get execution result by provided block ID or multiple block IDs provided as comma-seperated list.

get/execution_results

Query parameters

block_idIdentifier[] required

Single ID or comma-separated list of block IDs.

selectstring[]

A comma-separated list indicating which properties of the content to return.

agreeing_executors_countstring uint64

A minimum number of execution receipts for the execution result.

required_executor_idsIdentifier[]

A set of execution node IDs, one of which must have produced the execution result.

include_executor_metadataboolean

Specifies whether or not to include the executor metadata in the response.

Response

OK

idstring hexadecimal required

A 32-byte unique identifier for an entity.

block_idstring hexadecimal required

A 32-byte unique identifier for an entity.

previous_result_idstring hexadecimal required

A 32-byte unique identifier for an entity.

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"
      }
    ]
  }
]