NFTokenAcceptOffer class
The NFTokenOfferAccept transaction is used to accept offers to buy or sell an NFToken. It can either:
- Allow one offer to be accepted. This is called direct mode.
- Allow two distinct offers, one offering to buy a given NFToken and the other offering to sell the same NFToken, to be accepted in an atomic fashion. This is called brokered mode.
To indicate direct mode, use either the nftoken_sell_offer
or
nftoken_buy_offer
fields, but not both. To indicate brokered mode,
use both the nftoken_sell_offer
and nftoken_buy_offer
fields. If you use
neither nftoken_sell_offer
nor nftoken_buy_offer
, the transaction is invalid.
- Inheritance
-
- Object
- XRPTransaction
- NFTokenAcceptOffer
Constructors
-
NFTokenAcceptOffer({required String account, String? nfTokenBrokerFee, String? nfTokenBuyOffer, String? nfTokenSellOffer, List<
XRPLMemo> ? memos = const [], int? ticketSequance, String signingPubKey = "", int? sequence, String? fee, int? lastLedgerSequence}) -
nfTokenSellOffer
Identifies the NFTokenOffer that offers to sell the NFToken. In direct mode this field is optional, but either NFTokenSellOffer or NFTokenBuyOffer must be specified. In brokered mode, both NFTokenSellOffer and NFTokenBuyOffer must be specified. -
NFTokenAcceptOffer.fromJson(Map<
String, dynamic> json)
Properties
- account → String
-
finalinherited
- accountTxId → String?
-
finalinherited
- fee ↔ String?
-
getter/setter pairinherited
- flags → dynamic
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastLedgerSequence ↔ int?
-
getter/setter pairinherited
-
memos
↔ List<
XRPLMemo> ? -
getter/setter pairinherited
-
multiSigSigners
→ List<
String> -
finalinherited
- networkId ↔ int?
-
getter/setter pairinherited
- nfTokenBrokerFee → String?
-
nftoken_buy_offer
final
- nfTokenBuyOffer → String?
-
nftoken_sell_offer
final
- nfTokenSellOffer → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequence ↔ int?
-
getter/setter pairinherited
-
signers
↔ List<
XRPLSigners> ? -
getter/setter pairinherited
- signingPubKey ↔ String
-
getter/setter pairinherited
- sourceTag → int?
-
finalinherited
- ticketSequance → int?
-
finalinherited
- transactionType → XRPLTransactionType
-
finalinherited
- txnSignature ↔ String?
-
getter/setter pairinherited
Methods
-
getHash(
) → String -
inherited
-
isSigned(
) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setFee(
String? newFee) → void -
inherited
-
setLastLedgerSequence(
int? newSequance) → void -
inherited
-
setMultiSigSignatur(
List< XRPLSigners> sigs) → void -
inherited
-
setNetworkId(
int? network) → void -
inherited
-
setSequence(
int? newSequance) → void -
inherited
-
setSignature(
String? sig) → void -
inherited
-
toBlob(
{bool forSigning = true}) → String -
inherited
-
toJson(
) → Map< String, dynamic> -
nftoken_broker_fee
override
-
toMultisigBlob(
String address) → String -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toXrpl(
) → Map< String, dynamic> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited