Interface XChainAddClaimAttestation

All Superinterfaces:
Transaction
All Known Implementing Classes:
ImmutableXChainAddClaimAttestation

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

  • Method Details

    • builder

      Construct a XChainAddClaimAttestation builder.
      Returns:
      An ImmutableXChainAddClaimAttestation.Builder.
    • flags

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

      CurrencyAmount amount()
      The amount committed by the XChainCommit transaction on the source chain.
      Returns:
      A CurrencyAmount.
    • 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

      Optional<Address> destination()
      The destination account for the funds on the destination chain (taken from the XChainCommit transaction).
      Returns:
      An Address.
    • otherChainSource

      Address otherChainSource()
      The account on the source chain that submitted the XChainCommit transaction 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 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.
    • xChainBridge

      XChainBridge xChainBridge()
      The bridge to use to transfer funds.
      Returns:
      An XChainBridge.
    • xChainClaimId

      XChainClaimId xChainClaimId()
      The XChainClaimId associated with the transfer, which was included in the XChainCommit transaction.
      Returns:
      An XChainClaimId.