Interface XChainAddClaimAttestation
- All Superinterfaces:
Transaction
- All Known Implementing Classes:
ImmutableXChainAddClaimAttestation
Object mapping for the
XChainAddClaimAttestation transaction.
This interface will be marked Beta until the featureXChainBridge amendment is enabled on mainnet. Its API
is subject to change.
-
Field Summary
Fields inherited from interface org.xrpl.xrpl4j.model.transactions.Transaction
typeMap -
Method Summary
Modifier and TypeMethodDescriptionamount()The amount committed by theXChainCommittransaction on the source chain.The account that should receive this signer's share of theSignatureReward.The account on the door account's signer list that is signing the transaction.builder()Construct aXChainAddClaimAttestationbuilder.The destination account for the funds on the destination chain (taken from theXChainCommittransaction).default TransactionFlagsflags()Set ofTransactionFlagss for thisXChainAddClaimAttestation, which only allows thetfFullyCanonicalSigflag, which is deprecated.The account on the source chain that submitted theXChainCommittransaction that triggered the event associated with the attestation.The public key used to verify the attestation signature.The signature attesting to the event on the other chain.booleanA boolean representing the chain where the event occurred.The bridge to use to transfer funds.TheXChainClaimIdassociated with the transfer, which was included in theXChainCommittransaction.Methods inherited from interface org.xrpl.xrpl4j.model.transactions.Transaction
account, accountTransactionId, delegate, fee, lastLedgerSequence, memos, networkId, sequence, signers, signingPublicKey, sourceTag, ticketSequence, transactionFlags, transactionSignature, transactionType, unknownFields, validateDelegateNotSameAsAccount
-
Method Details
-
builder
Construct aXChainAddClaimAttestationbuilder.- Returns:
- An
ImmutableXChainAddClaimAttestation.Builder.
-
flags
Set ofTransactionFlagss for thisXChainAddClaimAttestation, which only allows thetfFullyCanonicalSigflag, which is deprecated.- Returns:
- A set of
TransactionFlags, default isTransactionFlags.EMPTY.
-
amount
CurrencyAmount amount()The amount committed by theXChainCommittransaction on the source chain.- Returns:
- A
CurrencyAmount.
-
attestationRewardAccount
Address attestationRewardAccount()The account that should receive this signer's share of theSignatureReward.- Returns:
- An
Address.
-
attestationSignerAccount
Address attestationSignerAccount()The account on the door account's signer list that is signing the transaction.- Returns:
- An
Address.
-
destination
The destination account for the funds on the destination chain (taken from theXChainCommittransaction).- Returns:
- An
Address.
-
otherChainSource
Address otherChainSource()The account on the source chain that submitted theXChainCommittransaction that triggered the event associated with the attestation.- Returns:
- An
Address.
-
publicKey
PublicKey publicKey()The public key used to verify the attestation signature.- Returns:
- A
PublicKey.
-
signature
Signature signature()The signature attesting to the event on the other chain.- Returns:
- A
Signature.
-
wasLockingChainSend
boolean wasLockingChainSend()A boolean representing the chain where the event occurred.Note that this field is typed as a
booleanbut is represented by an integer (0 or 1) in JSON and treated as a UInt8 in XRPL binary format.- Returns:
trueif the locking chain was the sender, otherwisefalse.
-
xChainBridge
XChainBridge xChainBridge()The bridge to use to transfer funds.- Returns:
- An
XChainBridge.
-
xChainClaimId
XChainClaimId xChainClaimId()TheXChainClaimIdassociated with the transfer, which was included in theXChainCommittransaction.- Returns:
- An
XChainClaimId.
-