AMMDelete constructor
AMMDelete({
- required String account,
- required XRPCurrencies asset,
- required XRPCurrencies asset2,
- List<
XRPLMemo> ? memos = const [], - int? ticketSequance,
- String signingPubKey = "",
- int? sequence,
- String? fee,
- int? lastLedgerSequence,
asset
The definition for one of the assets in the AMM's pool
asset2
The definition for the other asset in the AMM's pool
Implementation
AMMDelete({
required super.account,
required this.asset,
required this.asset2,
super.memos,
super.ticketSequance,
super.signingPubKey,
super.sequence,
super.fee,
super.lastLedgerSequence,
}) : assert(() {
if (asset is IssuedCurrencyAmount || asset2 is IssuedCurrencyAmount) {
return false;
}
return true;
}(), "use IssuedCurrency instead of IssuedCurrencyAmount"),
super(transactionType: XRPLTransactionType.AMM_DELETE);