# How to get transaction status · Chromia Docs (concept)

> This recipe demonstrates how to retrieve the status of a transaction on the Chromia blockchain using its RID (Resource Identifier).

Source: https://docs.chromia.com/build/cookbook/data-inspection/get-transaction-status/

# How to get transaction status

On this page

* [Transaction statuses](#transaction-statuses)
* [Prerequisites](#prerequisites)
* [Demo script](#demo-script)
* [Learn more](#learn-more)

This recipe demonstrates how to retrieve the status of a transaction on the Chromia blockchain using its RID (Resource
Identifier).

## Transaction statuses

When retrieving transaction status, you can receive one of the following statuses:

* **Unknown** - Transaction status is unknown
* **Waiting** - Transaction is waiting to be included in the block
* **Confirmed** - Transaction is included in the block
* **Rejected** - Transaction has been rejected (includes rejection reason and timestamp)

For detailed information about the transaction status API endpoint, see the
[REST API documentation](https://docs.chromia.com/pages/postchain-restapi/#get-tx-blockchainrid-txrid-status).

JS/TS client

## Prerequisites

* **Node.js**
* **Postchain client:** `npm install postchain-client`

## Demo script

* [Get transaction status demo](https://bitbucket.org/chromawallet/recipes/src/main/get_transaction_status/)

## Learn more

* [JavaScript/TypeScript client](https://docs.chromia.com/build/clients/postchain-clients/javascript-typescript/reference/) — covers setup, connection,
  and usage patterns.
* [Chromia Explorer](https://explorer.chromia.com) — find RIDs for transactions, blocks, chains, etc.
* [Transactions in explorer](https://docs.chromia.com/ecosystem/block-explorer/features/#transactions) — understanding transaction data in the
  explorer.

[View this page on docs.chromia.com](https://docs.chromia.com/build/cookbook/data-inspection/get-transaction-status/)Content mirrored from the live docs
