XChainAddClaimAttestation class
Represents a XChainAddClaimAttestation transaction. The XChainAddClaimAttestation transaction provides proof from a witness server, attesting to an XChainCommit transaction.
- Inheritance
-
- Object
- XRPLBase
- XRPTransaction
- XChainAddClaimAttestation
Constructors
-
XChainAddClaimAttestation.new({required String account, required XChainBridge xchainBridge, required int xchainClaimId, required String? destination, required String signature, required String otherChainSource, required String publicKey, required bool wasLockingChainSend, required String attestationRewardAccount, required String attestationSignerAccount, required BigInt amount, 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 []}) -
XChainAddClaimAttestation.fromJson(Map<
String, dynamic> json)
Properties
- account → String
-
finalinherited
- accountTxId → String?
-
finalinherited
- amount → BigInt
-
The amount committed by the XChainCommit 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 (taken from
the XChainCommit transaction).
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
-
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
- xchainBridge → XChainBridge
-
The bridge to use to transfer funds. This field is required.
final
- xchainClaimId → int
-
The XChainClaimID associated with the transfer, which was included in
the XChainCommit transaction. 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