XRPTransaction class

The base class for all transaction types https://xrpl.org/transaction-types.html. Represents fields common to all transaction types https://xrpl.org/transaction-common-fields.html.

Inheritance
Implementers

Constructors

XRPTransaction.new({required String account, List<String> multiSigSigners = const [], BigInt? fee, int? sequence, String? accountTxId, dynamic flags = 0, int? lastLedgerSequence, List<XRPLMemo>? memos = const [], List<XRPLSigners>? signers, int? sourceTag, String signingPubKey = "", int? ticketSequance, String? txnSignature, int? networkId, required XRPLTransactionType transactionType})
account The address of the sender of the transaction. transactionType (Auto-fillable) The amount of XRP to destroy as a cost to send this transaction. See Transaction Cost for details. sequence The sequence number of the transaction. Must match the sending account's next unused sequence number accountTxId A hash value identifying a previous transaction from the same sender flags A List of flags, or a bitwise map of flags, modifying this transaction's behavior lastLedgerSequence The highest ledger index this transaction can appear in memos Additional arbitrary information attached to this transaction signers Signing data authorizing a multi-signed transaction. Added during multi-signing sourceTag The public key authorizing a single-signed transaction. Automatically added during signing ticketSequance The sequence number of the ticket to use in place of a Sequence number. If this is provided, sequence must be 0. Cannot be used with account_txn_id. txnSignature The cryptographic signature from the sender that authorizes this transaction networkId The network id of the transaction.
XRPTransaction.fromBlob(String hexBlob)
factory
XRPTransaction.fromJson(Map<String, dynamic> json)
factory
XRPTransaction.fromXrpl(Map<String, dynamic> json)
factory
XRPTransaction.json(Map<String, dynamic> json)

Properties

account String
final
accountTxId String?
final
fee BigInt?
getter/setter pair
flags → dynamic
final
hashCode int
The hash code for this object.
no setterinherited
lastLedgerSequence int?
getter/setter pair
memos List<XRPLMemo>?
getter/setter pair
multiSigSigners List<String>
getter/setter pair
networkId int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequence int?
getter/setter pair
signers List<XRPLSigners>?
getter/setter pair
signingPubKey String
getter/setter pair
sourceTag int?
final
ticketSequance int?
final
transactionType XRPLTransactionType
final
txnSignature String?
getter/setter pair
validate String?
no setteroverride

Methods

getHash() String
isSigned() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setFee(BigInt? newFee) → void
setLastLedgerSequence(int? newSequance) → void
setMultiSigSignature(List<XRPLSigners> sigs) → void
setNetworkId(int? network) → void
setSequence(int? newSequance) → void
setSignature(String? sig) → void
toBlob({bool forSigning = true}) String
toJson() Map<String, dynamic>
Converts the object to a JSON representation.
override
toMultisigBlob(String address) String
toString() String
A string representation of this object.
inherited
toXrpl() Map<String, dynamic>

Operators

operator ==(Object other) bool
The equality operator.
inherited