Interface Clawback
- All Superinterfaces:
Transaction
- All Known Implementing Classes:
ImmutableClawback
Clawback an issued currency that exists on a Trustline.
This class will be marked Beta until the Clawback 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()Indicates the amount being clawed back, as well as the counterparty from which the amount is being clawed back from.static ImmutableClawback.Builderbuilder()Construct aClawbackbuilder.default TransactionFlagsflags()Set ofTransactionFlagss for thisClawback, which only allows thetfFullyCanonicalSigflag, which is deprecated.holder()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 aClawbackbuilder.- Returns:
- An
ImmutableClawback.Builder.
-
flags
Set ofTransactionFlagss for thisClawback, which only allows thetfFullyCanonicalSigflag, which is deprecated.- Returns:
- Always
TransactionFlags.EMPTY.
-
amount
CurrencyAmount amount()Indicates the amount being clawed back, as well as the counterparty from which the amount is being clawed back from. This amount must not exceed the holder's balance and must be greater than zero. The issuer in this amount must not be the same as the source account of this transaction.- Returns:
- An
IssuedCurrencyAmountindicating the amount to clawback.
-
holder
-