haskell-tdlib-2.1.31.0: Binding to the Telegram Database Library
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.TonWalletTransactionType

Synopsis

Documentation

data TonWalletTransactionType Source #

Describes type of transaction with a TON wallet

Constructors

TonWalletTransactionTypeOnRampDeposit

The transaction is a deposit from an on-ramp provider

Fields

TonWalletTransactionTypeTransfer

A transfer of TON Grams to or from the wallet

Fields

TonWalletTransactionTypeNftTransfer

A transfer of a TON NFT to or from the wallet

Fields

TonWalletTransactionTypeTelegramGiftTransfer

A Telegram gift was minted as a TON NFT directly to the wallet, or a minted gift was linked to or unlinked from a Telegram account. Information about the other user isn't available

Fields

TonWalletTransactionTypeTelegramGiftPurchase

A Telegram gift was bought on the TON blockchain

Fields

TonWalletTransactionTypeTelegramGiftSale

A Telegram gift was sold on the TON blockchain

Fields

TonWalletTransactionTypeTelegramGiftListing

A Telegram gift was put up for sale on the TON blockchain or its price was changed

Fields

  • nft :: Maybe TonNft

    The transferred NFT

  • old_price :: Maybe Int

    The previous price of the gift, in the smallest units of TON Grams; 0 if the gift wasn't on sale before

  • price :: Maybe Int

    The new price of the gift, in the smallest units of TON Grams

  • amount :: Maybe Int

    The received amount, in the smallest units of TON Grams

TonWalletTransactionTypeTelegramGiftDelisting

A Telegram gift was removed from sale on the TON blockchain

Fields

TonWalletTransactionTypeTelegramGiftOfferCreation

An offer to buy a Telegram gift was created on the TON blockchain and the funds were placed in escrow

Fields

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

Fields

TonWalletTransactionTypeTelegramGiftOfferCancellation

An offer to buy a Telegram gift was canceled by the buyer on the TON blockchain

Fields

TonWalletTransactionTypeTelegramGiftOfferDecline

An offer to buy a Telegram gift was declined by the owner of the NFT or canceled by Telegram on the TON blockchain

Fields

TonWalletTransactionTypeTelegramGiftOfferExpiration

An offer to buy a Telegram gift has expired on the TON blockchain

Fields

TonWalletTransactionTypeKeyChange

Change of the wallet key