AMMDelete class

Delete an empty Automated Market Maker (AMM) instance that could not be fully deleted automatically.

Tip: The AMMWithdraw transaction automatically tries to delete an AMM, along with associated ledger entries such as empty trust lines, if it withdrew all the assets from the AMM's pool. However, if there are too many trust lines to the AMM account to remove in one transaction, it may stop before fully removing the AMM. Similarly, an AMMDelete transaction removes up to a maximum number of trust lines; in extreme cases, it may take several AMMDelete transactions to fully delete the trust lines and the associated AMM. In all cases, the AMM ledger entry and AMM account are deleted by the last such transaction.

Inheritance

Constructors

AMMDelete.new({required String account, required XRPCurrencies asset, required XRPCurrencies asset2, List<XRPLMemo>? memos = const [], String signingPubKey = "", int? ticketSequance, BigInt? fee, int? lastLedgerSequence, int? sequence, List<XRPLSigners>? signers, dynamic flags, int? sourceTag, List<String> multiSigSigners = const []})
AMMDelete.fromJson(Map<String, dynamic> json)

Properties

account String
finalinherited
accountTxId String?
finalinherited
asset XRPCurrencies
asset The definition for one of the assets in the AMM's pool
final
asset2 XRPCurrencies
asset2 The definition for the other asset in the AMM's pool
final
fee BigInt?
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>
getter/setter pairinherited
networkId int?
getter/setter pairinherited
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
validate String?
no setterinherited

Methods

getHash() String
inherited
isSigned() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setFee(BigInt? newFee) → void
inherited
setLastLedgerSequence(int? newSequance) → void
inherited
setMultiSigSignature(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>
Converts the object to a JSON representation.
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