---
id: "P:cAlgo.API.Transaction.Note"
kind: "property"
type: "T:cAlgo.API.Transaction"
url: "https://help.ctrader.com/ctrader-algo/references/Account/Transactions/Transaction/Note/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# Transaction.Note

Member of [Transaction](https://help.ctrader.com/ctrader-algo/references/Account/Transactions/Transaction/index.md).

## Note

Gets transaction note if has otherwise null.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
string Note {get;}
```

Python:

```python
transaction.Note: str
```

### Returns

`string` — 

Available since cAlgo.API 5.2.

### Examples

C#:

```csharp
foreach (var transaction in Transactions)
{
    if (transaction.Note != null)
        Print("Transaction {0} note: {1}", transaction.Id, transaction.Note);
}
```

Python:

```python
for transaction in api.Transactions:
    if transaction.Note is not None:
        api.Print(f"Transaction {transaction.Id} note: {transaction.Note}")
```

