Skip to content

TonTransaction

Type · TDLib 1.8.67 · d1085f9c

Represents a transaction changing the amount of owned TON Grams

TonTransaction(
  id: string,
  gram_amount: int53,
  is_refund: Bool,
  date: int32,
  type: TonTransactionType
) → TonTransaction

id

string

Unique identifier of the transaction

gram_amount

int53

The amount of added owned Grams, in the smallest units of the cryptocurrency; negative for outgoing transactions

is_refund

Bool

True, if the transaction is a refund of a previous transaction

date

int32

Point in time (Unix timestamp) when the transaction was completed

type

TonTransactionType

Type of the transaction