Package org.xrpl.xrpl4j.model.ledger
Interface AttestationCreateAccount
- All Superinterfaces:
Attestation
- All Known Implementing Classes:
ImmutableAttestationCreateAccount
The attestation message that witness servers sign to include in a
XChainAddAccountCreateAttestation.
This interface will be marked Beta until the featureXChainBridge amendment is enabled on mainnet. Its API
is subject to change.
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()Construct aAttestationCreateAccountbuilder.The destination account for the funds on the destination chain.The total amount, in XRP, to be rewarded for providing a signature for cross-chain transfer or for signing for the cross-chain reward.The number of accounts that have been created by the bridge.Methods inherited from interface org.xrpl.xrpl4j.model.ledger.Attestation
amount, attestationRewardAccount, otherChainSource, wasLockingChainSend, xChainBridge
-
Method Details
-
builder
Construct aAttestationCreateAccountbuilder.- Returns:
- An
ImmutableAttestationCreateAccount.Builder.
-
xChainAccountCreateCount
XChainCount xChainAccountCreateCount()The number of accounts that have been created by the bridge.- Returns:
- An
XChainCount.
-
destination
Address destination()The destination account for the funds on the destination chain.- Returns:
- An
Address.
-
signatureReward
XrpCurrencyAmount signatureReward()The total amount, in XRP, to be rewarded for providing a signature for cross-chain transfer or for signing for the cross-chain reward. This amount will be split among the signers.- Returns:
- An
XrpCurrencyAmount.
-