XRPTransaction constructor

XRPTransaction({
  1. required String account,
  2. List<String> multiSigSigners = const [],
  3. BigInt? fee,
  4. int? sequence,
  5. String? accountTxId,
  6. dynamic flags = 0,
  7. int? lastLedgerSequence,
  8. List<XRPLMemo>? memos = const [],
  9. List<XRPLSigners>? signers,
  10. int? sourceTag,
  11. String signingPubKey = "",
  12. int? ticketSequance,
  13. String? txnSignature,
  14. int? networkId,
  15. 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});