Interface TonWalletTransaction

Represents a transaction with the TON wallet of the current user.

interface TonWalletTransaction {
    @type: "tonWalletTransaction";
    date: number;
    fee_amount: number;
    id: string;
    peer_address: string;
    peer_domain: string;
    peer_user_id: number;
    state: TonWalletTransactionState;
    type: TonWalletTransactionType;
}

Properties

@type: "tonWalletTransaction"
date: number

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

fee_amount: number

The fee amount paid for the transaction in TON Grams, in the smallest units of the cryptocurrency.

id: string

Unique identifier of the transaction.

peer_address: string

Address in the TON blockchain of the transaction peer; may be empty if the transaction isn't a wallet transfer.

peer_domain: string

Identifier of the domain assigned to the peer address; may be empty if none.

peer_user_id: number

Identifier of the other user who participated in the transaction; 0 if unknown.

State of the transaction.

Type of the transaction.