Interface TonWalletTransactionTypeTelegramGiftOfferAcceptance

An offer to buy a Telegram gift was accepted on the TON blockchain. The buyer received the NFT and the seller received the price. Subtype of TonWalletTransactionType.

interface TonWalletTransactionTypeTelegramGiftOfferAcceptance {
    @type: "tonWalletTransactionTypeTelegramGiftOfferAcceptance";
    counterparty_address: string;
    is_buyer?: boolean;
    nft: TonNft;
    offer_address: string;
    price: string;
    service_fee_amount: string;
}

Properties

@type: "tonWalletTransactionTypeTelegramGiftOfferAcceptance"
counterparty_address: string

Address of the other party on the TON blockchain: the seller for the buyer and the buyer for the seller.

is_buyer?: boolean

True, if the current user is the buyer of the NFT; otherwise, the current user is the seller of the NFT.

nft: TonNft

The NFT for which the offer was created; may be null if unknown.

offer_address: string

Address of the smart contract of the offer on the TON blockchain; the same for all transactions related to the offer.

price: string

The price of the NFT without the service fee and blockchain fees, in the smallest units of TON Grams.

service_fee_amount: string

The service fee for the offer, in the smallest units of TON Grams.