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

TD.Data.GiftOnChainSaleTransaction

Synopsis

Documentation

data GiftOnChainSaleTransaction Source #

Describes a transaction that must be sent from the TON wallet of the current user to buy an upgraded gift on-chain, put it up for sale, change its price, or cancel its sale

Constructors

GiftOnChainSaleTransactionFragment

The transaction for a gift sold on-chain on Fragment. The transaction consists of one message, which must be sent to nft_address with gram_amount attached and with payload as the message body. Use sendTonWalletTransaction to send the transaction

Fields

GiftOnChainSaleTransactionFixedPrice

The transaction for a gift sold on-chain using a fixed-price sale contract. All messages must be signed and sent in one transfer in the specified order. Use sendTonWalletTransaction with regular_transaction_data and gasless_transaction_data created from messages and gasless_messages respectively to send the transaction

Fields