| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
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
| |
Instances
| FromJSON GiftOnChainSaleTransaction Source # | |
Defined in TD.Data.GiftOnChainSaleTransaction Methods parseJSON :: Value -> Parser GiftOnChainSaleTransaction # parseJSONList :: Value -> Parser [GiftOnChainSaleTransaction] # | |
| Show GiftOnChainSaleTransaction Source # | |
Defined in TD.Data.GiftOnChainSaleTransaction Methods showsPrec :: Int -> GiftOnChainSaleTransaction -> ShowS # show :: GiftOnChainSaleTransaction -> String # showList :: [GiftOnChainSaleTransaction] -> ShowS # | |
| Eq GiftOnChainSaleTransaction Source # | |
Defined in TD.Data.GiftOnChainSaleTransaction Methods (==) :: GiftOnChainSaleTransaction -> GiftOnChainSaleTransaction -> Bool # (/=) :: GiftOnChainSaleTransaction -> GiftOnChainSaleTransaction -> Bool # | |
| ShortShow GiftOnChainSaleTransaction Source # | |
Defined in TD.Data.GiftOnChainSaleTransaction Methods | |