Interface XChainAddAccountCreateAttestation

All Superinterfaces:
Transaction
All Known Implementing Classes:
ImmutableXChainAddAccountCreateAttestation

@Beta @Immutable public interface XChainAddAccountCreateAttestation extends Transaction
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.

  • Method Details

    • builder

      Construct a XChainAddAccountCreateAttestation builder.
      Returns:
      An ImmutableXChainAddAccountCreateAttestation.Builder.
    • flags

      @Default default TransactionFlags flags()
      Set of TransactionFlagss for this XChainAddAccountCreateAttestation, which only allows the tfFullyCanonicalSig flag, which is deprecated.
      Returns:
      A set of TransactionFlags, default is TransactionFlags.EMPTY.
    • amount

      The amount committed by the XChainAccountCreateCommit transaction on the source chain.
      Returns:
      An XrpCurrencyAmount.
    • attestationRewardAccount

      Address attestationRewardAccount()
      The account that should receive this signer's share of the signatureReward().
      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 Address of the destination account.
    • otherChainSource

      Address otherChainSource()
      The account on the source chain that submitted the XChainAccountCreateCommit transaction 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 the XChainAccountCreateCommit transaction.
      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 boolean but is represented by an integer (0 or 1) in JSON and treated as a UInt8 in XRPL binary format.

      Returns:
      true if the locking chain was the sender, otherwise false.
    • 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.