Interface XChainAccountCreateCommit
- All Superinterfaces:
Transaction
- All Known Implementing Classes:
ImmutableXChainAccountCreateCommit
Object mapping for the
XChainAccountCreateCommit 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, in drops of XRP, to use for account creation.builder()Construct aXChainAccountCreateCommitbuilder.The destination account on the destination chain.default TransactionFlagsflags()Set ofTransactionFlagss for thisXChainAccountCreateCommit, which only allows thetfFullyCanonicalSigflag, which is deprecated.The amount, in XRP, to be used to reward the witness servers for providing signatures.The bridge to create accounts 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 aXChainAccountCreateCommitbuilder.- Returns:
- An
ImmutableXChainAccountCreateCommit.Builder.
-
flags
Set ofTransactionFlagss for thisXChainAccountCreateCommit, which only allows thetfFullyCanonicalSigflag, which is deprecated.- Returns:
- A set of
TransactionFlags, default isTransactionFlags.EMPTY.
-
amount
XrpCurrencyAmount amount()The amount, in drops of XRP, to use for account creation. This must be greater than or equal to theMinAccountCreateAmountspecified in theBridgeledger object.- Returns:
- An
XrpCurrencyAmount.
-
destination
Address destination()The destination account on the destination chain.- Returns:
- The
Addressof the destination account.
-
signatureReward
Optional<XrpCurrencyAmount> signatureReward()The amount, in XRP, to be used to reward the witness servers for providing signatures. This must match the amount on theBridgeledger object.- Returns:
- An optionally-present
XrpCurrencyAmount.
-
xChainBridge
XChainBridge xChainBridge()The bridge to create accounts for.- Returns:
- An
XChainBridge.
-