OfferCancel class

import 'package:xrpl_dart/src/xrpl/utilities.dart'; Represents an OfferCancel transaction, which removes an Offer object from the decentralized exchange

Inheritance

Constructors

OfferCancel.new({required String account, required int offerSequence, List<XRPLMemo>? memos = const [], XRPLSignature? signer, int? ticketSequance, BigInt? fee, int? lastLedgerSequence, int? sequence, List<XRPLSigners>? multisigSigners, int? flags, int? sourceTag})
OfferCancel.fromJson(Map<String, dynamic> json)

Properties

account String
account The address of the sender of the transaction.
finalinherited
accountTxId String?
accountTxId A hash value identifying a previous transaction from the same sender
finalinherited
fee BigInt?
no setterinherited
flags int
flags
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isMultisig bool
no setterinherited
lastLedgerSequence int?
lastLedgerSequence The highest ledger index this transaction can appear in
no setterinherited
memos List<XRPLMemo>
memos Additional arbitrary information attached to this transaction
finalinherited
multisigSigners List<XRPLSigners>
no setterinherited
networkId int?
networkId The network id of the transaction.
no setterinherited
offerSequence int
offerSequence The Sequence number (or Ticket number) of a previous OfferCreate transaction. If specified, cancel any Offer object in the ledger that was created by that transaction. It is not considered an error if the Offer specified does not exist.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequence int?
sequence The sequence number of the transaction. Must match the sending account's next unused sequence number
no setterinherited
signer XRPLSignature?
signer Signing data authorizing a signle-signed transaction.
no setterinherited
sourceTag int?
finalinherited
ticketSequance int?
ticketSequance The sequence number of the ticket to use in place of a Sequence number.
finalinherited
transactionType XRPLTransactionType
transactionType (Auto-fillable) The amount of XRP to destroy as a cost to send this transaction. See Transaction Cost for details.
finalinherited
validate String?
no setterinherited

Methods

copyWith({String? account, BigInt? fee, int? sequence, String? accountTxId, int? flags, int? lastLedgerSequence, List<XRPLMemo>? memos, List<XRPLSigners>? multisigSigners, XRPLSignature? signer, int? sourceTag, int? ticketSequance, int? networkId, XRPLTransactionType? transactionType}) XRPTransaction
inherited
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(XRPLSignature? signature) → 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