Files
xrpl-dev-portal/docs/_snippets/depositauth-semantics-table.md

6.2 KiB

  DepositAuth Disabled   DepositAuth Enabled
Transaction Type Sent by Destination Sent by Others   Sent by Destination Sent by Others Sent by Preauthorized Others
AccountSet (This transaction type never sends money.)
CheckCancel (This transaction type never sends money.)
CheckCash OK No Permission   OK No Permission No Permission
CheckCreate (This transaction type never sends money.)
EscrowCancel Can return XRP from an expired escrow
EscrowCreate (This transaction type can only debit XRP, not credit it.)
EscrowFinish OK OK   OK No Permission OK
OfferCancel This transaction type never sends money.
OfferCreate OK Only if account previously created a matching offer   OK Only if account previously created a matching offer Only if account previously created a matching offer
Payment
(If account has more than the minimum XRP reserve, enables No Ripple on all trust lines, and places no offers)
Cross-currency only OK   Cross-currency only 1 No Permission OK
Payment
(If account XRP balance is below the minimum XRP reserve)
Cross-currency only OK   Cross-currency only 1 XRP payments up to the minimum reserve OK
Payment
(If account has any trust lines with No Ripple disabled)
Cross-currency only OK   Cross-currency only 1 Balance changes from rippling OK
Payment
(If account has placed offers)
Cross-currency only OK   Cross-currency only 1 Balance changes from executing offers OK
PaymentChannelClaim OK OK   OK No Permission OK
PaymentChannelCreate (This transaction type can only debit XRP, not credit it.)
PaymentChannelFund Can return XRP when closing a channel created by self
SetRegularKey (This transaction type never sends money.)
SignerListSet (This transaction type never sends money.)
TrustSet (This transaction type never sends money.)

1: The DepositPreauth amendment fixes a bug in DepositAuth which causes cross-currency payments to oneself to fail if the account requires deposit authorization. If the DepositPreauth amendment is not enabled, these cases result in "No Permission" instead.

<style type="text/css"> .depauth-txtype { font-weight: bold; } .depauth-status { text-align: center; } .depauth-na { background-color: var(--gray-dark); color: var(--white); } .depauth-ok { background-color: var(--success); color: black; } .depauth-no { background-color: var(--danger); color: black; } .depauth-maybe { background-color: var(--warning); color: black; } .depauth-subtype { font-weight: normal; font-size: 8pt; } .depauth-spacer { background-color: var(--secondary); padding: 2px !important; font-size: 2px; border: 1px solid var(--secondary); } </style>