Last updated
Edit

FeeSettings

[Source]

The FeeSettings entry contains the current base transaction cost and reserve amounts as determined by fee voting. Each ledger version contains at most one FeeSettings entry.

Example FeeSettings JSON

This ledger entry has two formats, depending on whether the XRPFees amendment was enabled at the time:

{
  "BaseFeeDrops": "10",
  "Flags": 0,
  "LedgerEntryType": "FeeSettings",
  "PreviousTxnID": "4EEDB01BB943CE32E97BB468AC179ABF933B272D6FF990E76B6721FB48E069FC",
  "PreviousTxnLgrSeq": 92508417,
  "ReserveBaseDrops": "1000000",
  "ReserveIncrementDrops": "200000",
  "index": "4BC50C9B0D8515D3EAAE1E74B29A95804346C491EE1A95BF25E4AAB854A6A651"
}

FeeSettings Fields

The fields of the FeeSettings ledger entry depend on whether the XRPFees amendment was enabled the last time it was modified. If the last update was before the amendment became enabled, the entry uses the legacy format. If it has been updated after the amendment, it uses the current format. The fields it can have, in addition to the common fields, are as follows:

NameJSON TypeInternal TypeRequired?Description
BaseFeeDropsStringAmountYesThe transaction cost of the "reference transaction" in drops of XRP.
ReserveBaseDropsStringAmountYesThe base reserve for an account in the XRP Ledger, as drops of XRP.
ReserveIncrementDropsStringAmountYesThe incremental owner reserve for owning objects, as drops of XRP.
PreviousTxnIDStringUInt256NoThe identifying hash of the transaction that most recently modified this entry. (Added by the fixPreviousTxnID amendment.)
PreviousTxnLgrSeqNumberUInt32NoThe index of the ledger that contains the transaction that most recently modified this entry. (Added by the fixPreviousTxnID amendment.)

FeeSettings Flags

There are no flags defined for the FeeSettings entry.

FeeSettings ID Format

The ID of the FeeSettings entry is the hash of the FeeSettings space key (0x0065) only. This means that the ID is always:

4BC50C9B0D8515D3EAAE1E74B29A95804346C491EE1A95BF25E4AAB854A6A651