# Transaction

The Transaction model is used for returning requested Transactions or making new transactions

| Field           | Type                                                                         | Description                                                 |
| --------------- | ---------------------------------------------------------------------------- | ----------------------------------------------------------- |
| `Id`            | ​`long`                                                                      | Pool Sequence Number(Round Number)                          |
| `Source`        | `byte[]`                                                                     | `ed25519 byte[]` Source Wallet                              |
| `Target`        | `byte[]`                                                                     | `ed25519 byte[]` Target Wallet                              |
| `Amount`        | [Amount](/netcs/api/basic-types/amount.md)                                   | Amount CS for this Transaction                              |
| `Balance`       | [Amount](/netcs/api/basic-types/amount.md)                                   | Current Balance                                             |
| `Currency`      | `sbyte`                                                                      | Which Currency is used (0=CS)                               |
| `Signature`     | `byte[]`                                                                     | `ed25519 byte[]` Signature of Transaction                   |
| `SmartContract` | [SmartContractInvocation](/netcs/api/basic-types/smartcontractinvocation.md) | Smart Contract parameters                                   |
| `Fee`           | [AmountCommission](/netcs/api/basic-types/amountcommission.md)               | Amount fee allocated/needed                                 |
| `TimeCreation`  | `long`                                                                       | Creation time of this Transaction in the Blockchain (epoch) |
| `UserFields`    | `byte[]`                                                                     | UserFields (Extra data stored with Transaction)             |
| `Type`          | [TransactionType](/netcs/api/states/transactiontype.md)                      | What kind of transaction was/is this ?                      |
| `SmartInfo`     | [SmartTransInfo](/netcs/api/basic-types/smarttransinfo.md)                   | Smart Contract transfer information                         |
| `ExtraFee`      | `List<`[`ExtraFee`](/netcs/api/basic-types/extrafee.md)`>`                   | Extra Fee information                                       |
| `PoolNumber`    | `long`                                                                       | Pool number of Transaction                                  |
| `UsedContracts` | `List<byte[]>`                                                               | List of used Contracts in a single transaction              |


---

# 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://centr.gitbook.io/netcs/api/basic-types/transaction.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.
