---
title: "POST /tx_status"
method: POST
path: "/tx_status"
---

# POST /tx_status

`POST /tx_status`

## Request

- The document declares no server URL.
- Auth: none declared

Queries status of a transaction by hash, returning the final transaction result and details of all receipts.

## Request body

- JsonRpcRequestForTxStatus
  - `id` string, required
  - `jsonrpc` string, required
  - `method` 'tx_status', required
  - `params` union, required
    - object
      - `signed_tx_base64` string, byte, required
      - `wait_until` union
        - 'NONE': Transaction is waiting to be included into the block
        - 'INCLUDED': Transaction is included into the block. The block may be not finalized yet
        - 'EXECUTED_OPTIMISTIC': Transaction is included into the block + All non-refund transaction receipts finished their execution. The corresponding blocks for tx and each receipt may be not finalized yet
        - 'INCLUDED_FINAL': Transaction is included into finalized block
        - 'EXECUTED': Transaction is included into finalized block + All non-refund transaction receipts finished their execution. The corresponding blocks for each receipt may be not finalized yet
        - 'FINAL': Transaction is included into finalized block + Execution of all transaction receipts is finalized, including refund receipts
    - object
      - `sender_account_id` string, required: NEAR Account Identifier. This is a unique, syntactically valid, human-readable account identifier on the NEAR network. [See the crate-level docs for information about validation.](index.html#account-id-rules) Also see [Error kind precedence](AccountId#error-kind-precedence). ## Examples ``` use near_account_id::AccountId; let alice: AccountId = "alice.near".parse().unwrap(); assert!("ƒelicia.near".parse::<AccountId>().is_err()); // (ƒ is not f) ```
      - `tx_hash` string, required
      - `wait_until` union
        - 'NONE': Transaction is waiting to be included into the block
        - 'INCLUDED': Transaction is included into the block. The block may be not finalized yet
        - 'EXECUTED_OPTIMISTIC': Transaction is included into the block + All non-refund transaction receipts finished their execution. The corresponding blocks for tx and each receipt may be not finalized yet
        - 'INCLUDED_FINAL': Transaction is included into finalized block
        - 'EXECUTED': Transaction is included into finalized block + All non-refund transaction receipts finished their execution. The corresponding blocks for each receipt may be not finalized yet
        - 'FINAL': Transaction is included into finalized block + Execution of all transaction receipts is finalized, including refund receipts

## Response `200`

- union
  - object
    - `result` union, required
      - intersection
        - [`FinalExecutionOutcomeWithReceiptView`](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3/revisions/961a6d5d2b57/schema?at=%2Fcomponents%2Fschemas%2FFinalExecutionOutcomeWithReceiptView)
        - object
          - `final_execution_status` union, required
            - 'NONE': Transaction is waiting to be included into the block
            - 'INCLUDED': Transaction is included into the block. The block may be not finalized yet
            - 'EXECUTED_OPTIMISTIC': Transaction is included into the block + All non-refund transaction receipts finished their execution. The corresponding blocks for tx and each receipt may be not finalized yet
            - 'INCLUDED_FINAL': Transaction is included into finalized block
            - 'EXECUTED': Transaction is included into finalized block + All non-refund transaction receipts finished their execution. The corresponding blocks for each receipt may be not finalized yet
            - 'FINAL': Transaction is included into finalized block + Execution of all transaction receipts is finalized, including refund receipts
      - intersection
        - [`FinalExecutionOutcomeView`](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3/revisions/961a6d5d2b57/schema?at=%2Fcomponents%2Fschemas%2FFinalExecutionOutcomeView)
        - object
          - `final_execution_status` union, required
            - 'NONE': Transaction is waiting to be included into the block
            - 'INCLUDED': Transaction is included into the block. The block may be not finalized yet
            - 'EXECUTED_OPTIMISTIC': Transaction is included into the block + All non-refund transaction receipts finished their execution. The corresponding blocks for tx and each receipt may be not finalized yet
            - 'INCLUDED_FINAL': Transaction is included into finalized block
            - 'EXECUTED': Transaction is included into finalized block + All non-refund transaction receipts finished their execution. The corresponding blocks for each receipt may be not finalized yet
            - 'FINAL': Transaction is included into finalized block + Execution of all transaction receipts is finalized, including refund receipts
      - object
        - `final_execution_status` union, required
          - 'NONE': Transaction is waiting to be included into the block
          - 'INCLUDED': Transaction is included into the block. The block may be not finalized yet
          - 'EXECUTED_OPTIMISTIC': Transaction is included into the block + All non-refund transaction receipts finished their execution. The corresponding blocks for tx and each receipt may be not finalized yet
          - 'INCLUDED_FINAL': Transaction is included into finalized block
          - 'EXECUTED': Transaction is included into finalized block + All non-refund transaction receipts finished their execution. The corresponding blocks for each receipt may be not finalized yet
          - 'FINAL': Transaction is included into finalized block + Execution of all transaction receipts is finalized, including refund receipts
    - `id` string, required
    - `jsonrpc` string, required
  - object
    - `error` union, required
      - object
        - `cause` union, required
          - object
            - `info` object, required
              - …
            - `name` 'METHOD_NOT_FOUND', required
          - object
            - `info` object, required
              - …
            - `name` 'PARSE_ERROR', required
        - `name` 'REQUEST_VALIDATION_ERROR', required
      - object
        - `cause` union, required
          - object
            - `info` object, required
            - `name` 'INVALID_TRANSACTION', required
          - object
            - `name` 'DOES_NOT_TRACK_SHARD', required
          - object
            - `info` object, required
              - …
            - `name` 'REQUEST_ROUTED', required
          - object
            - `info` object, required
              - …
            - `name` 'UNKNOWN_TRANSACTION', required
          - object
            - `info` object, required
              - …
            - `name` 'INTERNAL_ERROR', required
          - object: `None` when the response comes from a node running an older version that omitted the cause, so newer clients can still parse it.
            - `info` union: Explains why a transaction status request returned a `RpcTransactionError::TimeoutError`:
              - …
            - `name` 'TIMEOUT_ERROR', required
        - `name` 'HANDLER_ERROR', required
      - object
        - `cause` InternalError, required
          - `info` object, required
            - `error_message` string, required
          - `name` 'INTERNAL_ERROR', required
        - `name` 'INTERNAL_ERROR', required
    - `id` string, required
    - `jsonrpc` string, required

## Changes

- **2026-11-16** `fbdcf3b66e85`: 1 breaking, 1 info
  - added `subschema #1, subschema #2` to the response body `oneOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the response body `oneOf` list for the response status `200`
- **2026-11-16** `1ce6181198ef`: 1 breaking, 1 info
  - added `subschema #1, subschema #2` to the response body `oneOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the response body `oneOf` list for the response status `200`
- **2026-11-12** `79ed36295796`: 1 breaking, 1 info
  - added `subschema #1, subschema #2` to the response body `oneOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the response body `oneOf` list for the response status `200`
- **2026-11-12** `4343d0a54fe3`: 1 breaking, 1 info
  - added `subschema #1, subschema #2` to the response body `oneOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the response body `oneOf` list for the response status `200`
- **2026-11-12** `0308ba71436f`: 1 breaking, 1 info
  - added `subschema #1, subschema #2` to the response body `oneOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the response body `oneOf` list for the response status `200`

[Operation history](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3/changes/tx_status/post.md)

---

[API](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3.md) - [All operations](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3/llms.txt) - [OpenAPI document](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3/revisions/961a6d5d2b57?raw)
