Interface XChainAddAccountCreateAttestation
- All Superinterfaces:
Transaction
- All Known Implementing Classes:
ImmutableXChainAddAccountCreateAttestation
Object mapping for the
XChainAddAccountCreateAttestation 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 theXChainAccountCreateCommittransaction 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 aXChainAddAccountCreateAttestationbuilder.The destination account for the funds on the destination chain.default TransactionFlagsflags()Set ofTransactionFlagss for thisXChainAddAccountCreateAttestation, which only allows thetfFullyCanonicalSigflag, which is deprecated.The account on the source chain that submitted theXChainAccountCreateCommittransaction that triggered the event associated with the attestation.The public key used to verify the signature.The signature attesting to the event on the other chain.The signature reward paid in theXChainAccountCreateCommittransaction.booleanA boolean representing the chain where the event occurred.The counter that represents the order that the claims must be processed in.The bridge associated with the attestation.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 aXChainAddAccountCreateAttestationbuilder.- Returns:
- An
ImmutableXChainAddAccountCreateAttestation.Builder.
-
flags
Set ofTransactionFlagss for thisXChainAddAccountCreateAttestation, which only allows thetfFullyCanonicalSigflag, which is deprecated.- Returns:
- A set of
TransactionFlags, default isTransactionFlags.EMPTY.
-
amount
XrpCurrencyAmount amount()The amount committed by theXChainAccountCreateCommittransaction on the source chain.- Returns:
- An
XrpCurrencyAmount.
-
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
Address destination()The destination account for the funds on the destination chain.- Returns:
- The
Addressof the destination account.
-
otherChainSource
Address otherChainSource()The account on the source chain that submitted theXChainAccountCreateCommittransaction that triggered the event associated with the attestation.- Returns:
- An
Address.
-
publicKey
PublicKey publicKey()The public key used to verify the signature.- Returns:
- A
PublicKey.
-
signature
Signature signature()The signature attesting to the event on the other chain.- Returns:
- A
Signature.
-
signatureReward
Optional<XrpCurrencyAmount> signatureReward()The signature reward paid in theXChainAccountCreateCommittransaction.- Returns:
- An optionally-present
XrpCurrencyAmount.
-
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.
-
xChainAccountCreateCount
XChainCount xChainAccountCreateCount()The counter that represents the order that the claims must be processed in.- Returns:
- An
XChainCount.
-
xChainBridge
XChainBridge xChainBridge()The bridge associated with the attestation.- Returns:
- An
XChainBridge.
-