XRPTransaction constructor
- 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.
Implementation
XRPTransaction(
{required this.account,
this.multiSigSigners = const [],
this.fee,
this.sequence,
this.accountTxId,
this.flags = 0,
this.lastLedgerSequence,
this.memos = const [],
this.signers,
this.sourceTag,
this.signingPubKey = "",
this.ticketSequance,
this.txnSignature,
this.networkId,
required this.transactionType});