OfferCreate class
Represents an OfferCreate transaction, which executes a limit order in the `decentralized exchange https://xrpl.org/decentralized-exchange.html If the specified exchange cannot be completely fulfilled, it creates an Offer object for the remainder. Offers can be partially fulfilled.
- Inheritance
-
- Object
- XRPTransaction
- OfferCreate
Constructors
-
OfferCreate({required String account, required CurrencyAmount takerGets, required CurrencyAmount takerPays, List<
XRPLMemo> ? memos = const [], int? ticketSequance, int? expiration, int? offerSequence, String signingPubKey = "", int? sequence, String? fee, int? lastLedgerSequence}) -
takerGets
The amount and type of currency being provided by the sender of this transactiontakerPays
The amount and type of currency the sender of this transaction wants in exchange for the fulltaker_gets
amount.expiration
Time after which the offer is no longer activeofferSequence
The Sequence number (or Ticket number) of a previous OfferCreate to cancel when placing this Offer -
OfferCreate.fromJson(Map<
String, dynamic> json)
Properties
- account → String
-
finalinherited
- accountTxId → String?
-
finalinherited
- expiration → int?
-
final
- 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
- offerSequence → int?
-
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
- takerGets → CurrencyAmount
-
final
- takerPays → CurrencyAmount
-
final
- 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> -
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