GiftOnChainSaleTransactionFixedPrice class
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
- Inheritance
-
- Object
- TdObject
- GiftOnChainSaleTransaction
- GiftOnChainSaleTransactionFixedPrice
- Available extensions
- Annotations
-
- @immutable
Constructors
-
GiftOnChainSaleTransactionFixedPrice({required String saleAddress, required List<
TonWalletMessage> messages, required List<TonWalletMessage> gaslessMessages}) -
const
Properties
-
gaslessMessages
→ List<
TonWalletMessage> -
gaslessMessages The messages that must be sent for a gasless transfer
instead of messages; empty if gasless transfer isn't available
final
- hashCode → int
-
The hash code for this object.
no setteroverride
-
messages
→ List<
TonWalletMessage> -
messages The messages that must be sent for a regular transfer
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saleAddress → String
-
saleAddress Address of the sale smart contract on the TON blockchain
final
Methods
-
copyWith(
{String? saleAddress, List< TonWalletMessage> ? messages, List<TonWalletMessage> ? gaslessMessages}) → GiftOnChainSaleTransactionFixedPrice -
Available on GiftOnChainSaleTransactionFixedPrice, provided by the GiftOnChainSaleTransactionFixedPriceExtensions extension
-
getConstructor(
) → String -
override
-
map<
TResult extends Object?> ({required TResult fragment(GiftOnChainSaleTransactionFragment value), required TResult fixedPrice(GiftOnChainSaleTransactionFixedPrice value)}) → TResult -
Available on GiftOnChainSaleTransaction, provided by the GiftOnChainSaleTransactionExtensions extension
-
maybeMap<
TResult extends Object?> ({TResult fragment(GiftOnChainSaleTransactionFragment value)?, TResult fixedPrice(GiftOnChainSaleTransactionFixedPrice value)?, required TResult orElse()}) → TResult -
Available on GiftOnChainSaleTransaction, provided by the GiftOnChainSaleTransactionExtensions extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
Map< String, dynamic> ? json) → GiftOnChainSaleTransactionFixedPrice? -
Inherited by:
GiftOnChainSaleTransactionFixedPrice
GiftOnChainSaleTransactionFragment
override
Constants
- constructor → const String