Interface XChainCreateBridge
- All Superinterfaces:
Transaction
- All Known Implementing Classes:
ImmutableXChainCreateBridge
Object mapping for the
XChainCreateBridge 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 aXChainCreateBridgebuilder.default TransactionFlagsflags()Set ofTransactionFlagss for thisXChainCreateBridge, which only allows thetfFullyCanonicalSigflag, which is deprecated.The minimum amount, in XRP, required for aXChainAccountCreateCommittransaction.The total amount to pay the witness servers for their signatures.The bridge (door accounts and assets) to create.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 aXChainCreateBridgebuilder.- Returns:
- An
ImmutableXChainCreateBridge.Builder.
-
flags
Set ofTransactionFlagss for thisXChainCreateBridge, which only allows thetfFullyCanonicalSigflag, which is deprecated.- Returns:
- A set of
TransactionFlags, default isTransactionFlags.EMPTY.
-
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
XrpCurrencyAmount signatureReward()The total amount to pay the witness servers for their signatures. This amount will be split among the signers.- Returns:
- An
XrpCurrencyAmount.
-
xChainBridge
XChainBridge xChainBridge()The bridge (door accounts and assets) to create.- Returns:
- An
XChainBridge.
-