Interface AccountDelete
- All Superinterfaces:
Transaction
- All Known Implementing Classes:
ImmutableAccountDelete
An
AccountDelete transaction deletes an account and any objects it owns in the XRP Ledger, if possible,
sending the account's remaining XRP to a specified destination account.-
Field Summary
Fields inherited from interface org.xrpl.xrpl4j.model.transactions.Transaction
typeMap -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Construct a builder for this class.Set of Credentials to authorize a deposit made by this transaction.TheAddressof an account to receive any leftover XRP after deleting the sending account.Optional<com.google.common.primitives.UnsignedInteger> Arbitrary destination tag that identifies a hosted recipient or other information for the recipient of the deleted account's leftover XRP.default TransactionFlagsflags()Set ofTransactionFlagss for thisAccountDelete, which only allows thetfFullyCanonicalSigflag, which is deprecated.default voidValidatecredentialIds()has less than or equal to 8 credentials.default voidValidatecredentialIds()are unique.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 a builder for this class.- Returns:
- An
ImmutableAccountDelete.Builder.
-
flags
Set ofTransactionFlagss for thisAccountDelete, which only allows thetfFullyCanonicalSigflag, which is deprecated.The value of the flags cannot be set manually, but exists for JSON serialization/deserialization only and for proper signature computation in rippled.
- Returns:
- Always
TransactionFlags.EMPTY.
-
destination
Address destination()TheAddressof an account to receive any leftover XRP after deleting the sending account. Must be a funded account in the ledger, and must not be the sending account.- Returns:
- The
Addressof the leftover XRP destination account.
-
destinationTag
Optional<com.google.common.primitives.UnsignedInteger> destinationTag()Arbitrary destination tag that identifies a hosted recipient or other information for the recipient of the deleted account's leftover XRP.- Returns:
- An
Optionalof typeUnsignedIntegerrepresenting the tag of the destination account.
-
credentialIds
Set of Credentials to authorize a deposit made by this transaction. Each member of the array must be the ledger entry ID of a Credential entry in the ledger.- Returns:
- A list of type
Hash256.
-
validateCredentialIdsLength
@Check default void validateCredentialIdsLength()ValidatecredentialIds()has less than or equal to 8 credentials. -
validateUniqueCredentialIds
@Check default void validateUniqueCredentialIds()ValidatecredentialIds()are unique.
-