XChainAddAccountCreateAttestation class
Represents a XChainAddAccountCreateAttestation transaction. The XChainAddAccountCreateAttestation transaction provides an attestation from a witness server that a XChainAccountCreateCommit transaction occurred on the other chain.
- Inheritance
-
- Object
- XRPLBase
- XRPTransaction
- XChainAddAccountCreateAttestation
Constructors
-
XChainAddAccountCreateAttestation.new({required String account, required XChainBridge xchainBridge, required String destination, required String signature, required String otherChainSource, required String publicKey, required bool wasLockingChainSend, required String attestationRewardAccount, required String attestationSignerAccount, required BigInt amount, required BigInt signatureReward, required int xChainAccountCreateCount, List<
XRPLMemo> ? memos = const [], String signingPubKey = "", int? ticketSequance, BigInt? fee, int? lastLedgerSequence, int? sequence, List<XRPLSigners> ? signers, dynamic flags, int? sourceTag, List<String> multiSigSigners = const []}) -
XChainAddAccountCreateAttestation.fromJson(Map<
String, dynamic> json)
Properties
- account → String
-
finalinherited
- accountTxId → String?
-
finalinherited
- amount → BigInt
-
The amount committed by the XChainAccountCreateCommit transaction on
the source chain. This field is required.
final
- attestationRewardAccount → String
-
The account that should receive this signer's share of the
SignatureReward. This field is required.
final
- attestationSignerAccount → String
-
The account on the door account's signer list that is signing the
transaction. This field is required.
final
- destination → String
-
The destination account for the funds on the destination chain. This field
is required.
final
- fee ↔ BigInt?
-
getter/setter pairinherited
- flags → dynamic
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastLedgerSequence ↔ int?
-
getter/setter pairinherited
-
memos
↔ List<
XRPLMemo> ? -
getter/setter pairinherited
-
multiSigSigners
↔ List<
String> -
getter/setter pairinherited
- networkId ↔ int?
-
getter/setter pairinherited
- otherChainSource → String
-
The account on the source chain that submitted the XChainCommit
transaction that triggered the event associated with the attestation. This
field is required.
final
- publicKey → String
-
The public key used to verify the signature. This field is required.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequence ↔ int?
-
getter/setter pairinherited
- signature → String
-
The signature attesting to the event on the other chain. This field is
required.
final
- signatureReward → BigInt
-
The signature reward paid in the XChainAccountCreateCommit transaction.
This field is required.
final
-
signers
↔ List<
XRPLSigners> ? -
getter/setter pairinherited
- signingPubKey ↔ String
-
getter/setter pairinherited
- sourceTag → int?
-
finalinherited
- ticketSequance → int?
-
finalinherited
- transactionType → XRPLTransactionType
-
finalinherited
- txnSignature ↔ String?
-
getter/setter pairinherited
- validate → String?
-
no setterinherited
- wasLockingChainSend → bool
-
A boolean representing the chain where the event occurred. This field is
required.
final
- xChainAccountCreateCount → int
-
The counter that represents the order that the claims must be processed in.
This field is required.
final
- xchainBridge → XChainBridge
-
The bridge associated with the attestation. This field is required.
final
Methods
-
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(
String? sig) → 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