# How to send a simple transaction · Chromia Docs (concept)

> This recipe demonstrates how to send a transaction using the signAndSendUniqueTransaction helper function, which simplifies the process of creating, signing…

Source: https://docs.chromia.com/build/cookbook/transaction-creation/simple-transaction/

# How to send a simple transaction

On this page

* [Prerequisites](#prerequisites)
* [Demo script](#demo-script)
* [Key Features](#key-features)
* [Transaction Status](#transaction-status)
* [Learn more](#learn-more)

This recipe demonstrates how to send a transaction using the `signAndSendUniqueTransaction` helper function, which
simplifies the process of creating, signing, and sending transactions on the Chromia blockchain.

JS/TS client

## Prerequisites

* **Node.js**
* **FT4 client:** `npm install @chromia/ft4`
* **Postchain client:** `npm install postchain-client`

## Demo script

* [Simple transaction demo](https://bitbucket.org/chromawallet/recipes/src/main/simple_transaction/)

## Key Features

The `signAndSendUniqueTransaction` helper function does three things:

* **Automatic uniqueness** - Adds a `nop` operation with random data to ensure the transaction is unique
* **Simplified signing** - Signs with the provided signature provider or private key
* **Transaction receipt** - Sends the transaction and returns a receipt with `statusCode`, `status`, and
  `transactionRid`

## Transaction Status

The helper returns one of the following statuses:

* **Waiting** - Transaction is pending inclusion
* **Rejected** - Transaction was rejected by the network
* **Confirmed** - Transaction was successfully included in a block
* **Unknown** - Transaction status could not be determined

## Learn more

* [FT4 client documentation](https://docs.chromia.com/build/clients/ft4-client/) — covers account management and FT4 operations.
* [JavaScript/TypeScript client](https://docs.chromia.com/build/clients/postchain-clients/javascript-typescript/reference/) — covers setup, connection,
  and usage patterns.
* [Generic Transaction Protocol (GTX)](https://docs.chromia.com/get-started/about/protocols/gtx/) — understanding GTX transaction structure.

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