Skip to content

Transaction.Note

property · Transaction · cAlgo.API Since 5.2

DesktopCLICloud

Gets transaction note if has otherwise null.

Definition

string Note {get;}
transaction.Note: str

Returns string

Examples

foreach (var transaction in Transactions)
{
    if (transaction.Note != null)
        Print("Transaction {0} note: {1}", transaction.Id, transaction.Note);
}
for transaction in api.Transactions:
    if transaction.Note is not None:
        api.Print(f"Transaction {transaction.Id} note: {transaction.Note}")