Interface XChainModifyBridge
- All Superinterfaces:
Transaction
- All Known Implementing Classes:
ImmutableXChainModifyBridge
Object mapping for the
XChainModifyBridge 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 TypeMethodDescriptionbuilder()Construct aXChainModifyBridgebuilder.default XChainModifyBridgeFlagsflags()Set ofXChainModifyBridgeFlagss for thisXChainModifyBridge, which have been properly combined to yield aXChainModifyBridgeFlagsobject containing theLongrepresentation of the set bits.The minimum amount, in XRP, required for aXChainAccountCreateCommittransaction.The signature reward split between the witnesses for submitting attestations.The bridge to create the claim ID for.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 aXChainModifyBridgebuilder.- Returns:
- An
ImmutableXChainModifyBridge.Builder.
-
flags
Set ofXChainModifyBridgeFlagss for thisXChainModifyBridge, which have been properly combined to yield aXChainModifyBridgeFlagsobject containing theLongrepresentation of the set bits.The value of the flags can either be set manually, or constructed using
XChainModifyBridgeFlags.Builder.- Returns:
- The
XChainModifyBridgeFlagsfor this transaction.
-
minAccountCreateAmount
Optional<XrpCurrencyAmount> minAccountCreateAmount()The minimum amount, in XRP, required for aXChainAccountCreateCommittransaction. If this isn't present, theXChainAccountCreateCommittransaction will fail. This field can only be present on XRP-XRP bridges.- Returns:
- An optionally-present
XrpCurrencyAmount.
-
signatureReward
Optional<XrpCurrencyAmount> signatureReward()The signature reward split between the witnesses for submitting attestations.- Returns:
- An optionally-present
XrpCurrencyAmount.
-
xChainBridge
XChainBridge xChainBridge()The bridge to create the claim ID for.- Returns:
- An
XChainBridge.
-