XChainAccountCreateCommit class

Represents a XChainAccountCreateCommit transaction on the XRP Ledger. The XChainAccountCreateCommit transaction creates a new account on one of the chains a bridge connects, which serves as the bridge entrance for that chain.

Inheritance

Constructors

XChainAccountCreateCommit.new({required String account, required XChainBridge xchainBridge, required String destination, required BigInt amount, required BigInt signatureReward, List<XRPLMemo>? memos = const [], XRPLSignature? signer, int? ticketSequance, BigInt? fee, int? lastLedgerSequence, int? sequence, List<XRPLSigners>? multisigSigners, int? flags, int? sourceTag})
XChainAccountCreateCommit.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
amount BigInt
The amount, in XRP, to use for account creation. This must be greater than or equal to the MinAccountCreateAmount specified in the Bridge ledger object. This field is required.
final
destination String
The destination account on the destination chain. This field is required.
final
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
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
signatureReward BigInt
The amount, in XRP, to be used to reward the witness servers for providing signatures. This must match the amount on the Bridge ledger object. This field is required.
final
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
xchainBridge XChainBridge
The bridge to create accounts for. This field is required.
final

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