Key Reset Transaction
As a special case, an account can send SetRegularKey with a Fee of 0 if the lsfPasswordSpent flag is disabled and the transaction is signed by the master key pair. This allows recovery even if the account has no XRP available.
Some transactions have special costs before load scaling: most reference transactions cost 10 drops; multi-signed transactions cost 10 drops × (1 + number of signatures); EscrowFinish with fulfillment costs 10 drops × (33 + (fulfillment bytes ÷ 16)); AccountDelete and AMMCreate cost 2,000,000 drops; a key reset SetRegularKey can be 0 under specific conditions.
Every signed transaction must include a Fee value. The ledger executes transactions exactly as signed, so the exact Fee specified is destroyed even if it is higher than the current minimum. It is recommended to look up current load-based costs before signing and to set LastLedgerSequence so a transaction can expire if needed.
FAQ
Is the Fee field changeable after signing?
No. Like other signed fields, changing Fee invalidates the signature.
Can I overpay fees?
Yes. The ledger destroys exactly what you sign, even if it is higher than the minimum.


