| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.TonWalletTransactionType
Synopsis
- data TonWalletTransactionType
- = TonWalletTransactionTypeOnRampDeposit { }
- | TonWalletTransactionTypeTransfer { }
- | TonWalletTransactionTypeNftTransfer { }
- | TonWalletTransactionTypeTelegramGiftTransfer { }
- | TonWalletTransactionTypeTelegramGiftPurchase { }
- | TonWalletTransactionTypeTelegramGiftSale { }
- | TonWalletTransactionTypeTelegramGiftListing { }
- | TonWalletTransactionTypeTelegramGiftDelisting { }
- | TonWalletTransactionTypeTelegramGiftOfferCreation { }
- | TonWalletTransactionTypeTelegramGiftOfferAcceptance { }
- | TonWalletTransactionTypeTelegramGiftOfferCancellation {
- nft :: Maybe TonNft
- offer_address :: Maybe Text
- counterparty_address :: Maybe Text
- price :: Maybe Int
- refund_amount :: Maybe Int
- fine_amount :: Maybe Int
- | TonWalletTransactionTypeTelegramGiftOfferDecline {
- nft :: Maybe TonNft
- offer_address :: Maybe Text
- counterparty_address :: Maybe Text
- price :: Maybe Int
- refund_amount :: Maybe Int
- | TonWalletTransactionTypeTelegramGiftOfferExpiration {
- nft :: Maybe TonNft
- offer_address :: Maybe Text
- counterparty_address :: Maybe Text
- price :: Maybe Int
- refund_amount :: Maybe Int
- | TonWalletTransactionTypeKeyChange
Documentation
data TonWalletTransactionType Source #
Describes type of transaction with a TON wallet
Constructors
| TonWalletTransactionTypeOnRampDeposit | The transaction is a deposit from an on-ramp provider |
| TonWalletTransactionTypeTransfer | A transfer of TON Grams to or from the wallet |
Fields
| |
| TonWalletTransactionTypeNftTransfer | A transfer of a TON NFT to or from the wallet |
| 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 |
| TonWalletTransactionTypeTelegramGiftPurchase | A Telegram gift was bought on the TON blockchain |
| TonWalletTransactionTypeTelegramGiftSale | A Telegram gift was sold on the TON blockchain |
| TonWalletTransactionTypeTelegramGiftListing | A Telegram gift was put up for sale on the TON blockchain or its price was changed |
Fields
| |
| TonWalletTransactionTypeTelegramGiftDelisting | A Telegram gift was removed from sale on the TON blockchain |
| 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 |
Instances
| FromJSON TonWalletTransactionType Source # | |
Defined in TD.Data.TonWalletTransactionType Methods parseJSON :: Value -> Parser TonWalletTransactionType # parseJSONList :: Value -> Parser [TonWalletTransactionType] # | |
| Show TonWalletTransactionType Source # | |
Defined in TD.Data.TonWalletTransactionType Methods showsPrec :: Int -> TonWalletTransactionType -> ShowS # show :: TonWalletTransactionType -> String # showList :: [TonWalletTransactionType] -> ShowS # | |
| Eq TonWalletTransactionType Source # | |
Defined in TD.Data.TonWalletTransactionType Methods (==) :: TonWalletTransactionType -> TonWalletTransactionType -> Bool # (/=) :: TonWalletTransactionType -> TonWalletTransactionType -> Bool # | |
| ShortShow TonWalletTransactionType Source # | |
Defined in TD.Data.TonWalletTransactionType Methods | |