# Transactions

## Transaction Types

Transaction types are a functionality provided by Raiinmaker Network EAL to give the user direct control over the transactions added to their blockchain. By design, the chain will not accept any transactions unless attached to a registered transaction type on that business chain. Transactions can be grouped logically using this feature, allowing the user to index data for more precise and efficient search functionality within their applications and systems.

### Creating Transaction Types

Transaction types can be created with `coiin` and used to group transaction data by type or function.

```
$ coiin transactionType create "my-transaction-type"
{
  "status": 200,
  "response": {
    "success": true
  },
  "ok": true
}
```

After creating a transaction type, it can be used in transactions.

```
$ coiin transaction create "my-transaction-type" '{ "banana": 4 }'
{
  "status": 201,
  "response": {
    "transaction_id": "b09ef198-7bb9-40c4-990b-097b3bac93c5"
  },
  "ok": true
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.coiin.ai/home/developers/transactions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
