---
title: "Get a Transaction Result by transaction ID or scheduled transaction ID."
method: GET
path: "/transaction_results/{transaction_id}"
tags: ["Transactions"]
---

# Get a Transaction Result by transaction ID or scheduled transaction ID.

`GET /transaction_results/{transaction_id}`

Get transaction result by the transaction's ID. If the transaction is a scheduled transaction, it can alternatively be retrieved by the scheduled transaction ID field returned by the system contract.

## Path parameters

- `transaction_id` string, required

## Query parameters

- `block_id` string, hexadecimal — A 32-byte unique identifier for an entity.
- `collection_id` string, hexadecimal — A 32-byte unique identifier for an entity.
- `expand` string[]
- `select` string[]
- `agreeing_executors_count` string, uint64
- `required_executor_ids` Identifier[]
- `include_executor_metadata` boolean

## Response `200`

OK

- TransactionResult
  - `block_id` string, hexadecimal, required — A 32-byte unique identifier for an entity.
  - `collection_id` string, hexadecimal, required — A 32-byte unique identifier for an entity.
  - `execution` 'Pending' | 'Success' | 'Failure' — This value indicates whether the transaction execution succeded or not, this value should be checked when determining transaction success.
  - `status` 'Pending' | 'Finalized' | 'Executed' | 'Sealed' | 'Expired', required — This value indicates the state of the transaction execution. Only sealed and expired are final and immutable states.
  - `status_code` integer, required
  - `error_message` string, required — Provided transaction error in case the transaction wasn't successful.
  - `computation_used` string, uint64, required
  - `events` Event[], required
    - `type` string, required — The qualified event type.
    - `transaction_id` string, hexadecimal, required — A 32-byte unique identifier for an entity.
    - `transaction_index` string, uint64, required
    - `event_index` string, uint64, required
    - `payload` string, byte, required
  - `metadata` Metadata — Contains data about the node's state at the time of the request.
    - `executor_metadata` ExecutorMetadata — Contains data about the execution result used to serve the request.
      - `execution_result_id` string, hexadecimal — A 32-byte unique identifier for an entity.
      - `executor_ids` Identifier[]
  - `_links` Links
    - `_self` string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2026-02-14** `036408ff3a0a` — 1 info
  - for the `path` request parameter `transaction_id`, the type/format was generalized from ``/`` to `string`/``
- **2025-10-17** `f090d4e54723` — 2 info
  - removed the pattern `[a-fA-F0-9]{64}` from the `path` request parameter `transaction_id`
  - for the `path` request parameter `transaction_id`, the type/format was generalized from `string`/`hexadecimal` to ``/``
- **2025-09-22** `ef376ce0d11f` — 4 info
  - added the new optional `query` request parameter `agreeing_executors_count`
  - added the new optional `query` request parameter `include_executor_metadata`
  - added the new optional `query` request parameter `required_executor_ids`
  - added the optional property `metadata` to the response with the `200` status
- **2025-09-18** `04fb304815f2` — 4 warning
  - deleted the `query` request parameter `agreeing_executors_count`
  - deleted the `query` request parameter `include_executor_metadata`
  - deleted the `query` request parameter `required_executor_ids`
  - removed the optional property `metadata` from the response with the `200` status
- **2025-08-07** `f20439279859` — 1 warning, 1 info
  - removed the optional property `executor_metadata` from the response with the `200` status
  - added the optional property `metadata` to the response with the `200` status

[Full history](https://skmtc.dev/onflow/apis/access-api/changes/transaction_results/:transaction_id/get.md)

---

[API](https://skmtc.dev/onflow/apis/access-api.md) · [All operations](https://skmtc.dev/onflow/apis/access-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/onflow/access-api/revisions/fd121c1fddf8/schema)
