# FeeSettings [[Source]](https://github.com/XRPLF/rippled/blob/f64cf9187affd69650907d0d92e097eb29693945/include/xrpl/protocol/detail/ledger_entries.macro#L297-L309) The `FeeSettings` entry contains the current base [transaction cost](/docs/concepts/transactions/transaction-cost) and [reserve amounts](/docs/concepts/accounts/reserves) as determined by [fee voting](/docs/concepts/consensus-protocol/fee-voting). Each ledger version contains **at most one** `FeeSettings` entry. ## Example JSON This ledger entry has two formats, depending on whether the [XRPFees amendment](/resources/known-amendments#xrpfees) was enabled at the time: Current Format ```json { "BaseFeeDrops": "10", "Flags": 0, "LedgerEntryType": "FeeSettings", "PreviousTxnID": "4EEDB01BB943CE32E97BB468AC179ABF933B272D6FF990E76B6721FB48E069FC", "PreviousTxnLgrSeq": 92508417, "ReserveBaseDrops": "1000000", "ReserveIncrementDrops": "200000", "index": "4BC50C9B0D8515D3EAAE1E74B29A95804346C491EE1A95BF25E4AAB854A6A651" } ``` Legacy Format ```json { "BaseFee": "000000000000000A", "Flags": 0, "LedgerEntryType": "FeeSettings", "ReferenceFeeUnits": 10, "ReserveBase": 20000000, "ReserveIncrement": 5000000, "index": "4BC50C9B0D8515D3EAAE1E74B29A95804346C491EE1A95BF25E4AAB854A6A651" } ``` ## Fields The fields of the `FeeSettings` ledger entry depend on whether the [XRPFees amendment](/resources/known-amendments#xrpfees) 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](/docs/references/protocol/ledger-data/common-fields), are as follows: Current Format | Name | JSON Type | [Internal Type](/docs/references/protocol/binary-format) | Required? | Description | | --- | --- | --- | --- | --- | | `BaseFeeDrops` | String | Amount | Yes | The [transaction cost](/docs/concepts/transactions/transaction-cost) of the "reference transaction" in drops of XRP. | | `ReserveBaseDrops` | String | Amount | Yes | The [base reserve](/docs/concepts/accounts/reserves#base-reserve-and-owner-reserve) for an account in the XRP Ledger, as drops of XRP. | | `ReserveIncrementDrops` | String | Amount | Yes | The incremental [owner reserve](/docs/concepts/accounts/reserves#base-reserve-and-owner-reserve) for owning objects, as drops of XRP. | | `PreviousTxnID` | String | UInt256 | No | The identifying hash of the transaction that most recently modified this entry. | | `PreviousTxnLgrSeq` | Number | UInt32 | No | The [index of the ledger](/docs/references/protocol/data-types/basic-data-types#ledger-index) that contains the transaction that most recently modified this entry. | Legacy Format | Name | JSON Type | [Internal Type](/docs/references/protocol/binary-format) | Required? | Description | | --- | --- | --- | --- | --- | | `BaseFee` | String | UInt64 | Yes | The [transaction cost](/docs/concepts/transactions/transaction-cost) of the "reference transaction" in drops of XRP as hexadecimal. | | `ReferenceFeeUnits` | Number | UInt32 | Yes | The `BaseFee` translated into "fee units". | | `ReserveBase` | Number | UInt32 | Yes | The [base reserve](/docs/concepts/accounts/reserves#base-reserve-and-owner-reserve) for an account in the XRP Ledger, as drops of XRP. | | `ReserveIncrement` | Number | UInt32 | Yes | The incremental [owner reserve](/docs/concepts/accounts/reserves#base-reserve-and-owner-reserve) for owning objects, as drops of XRP. | | `PreviousTxnID` | String | UInt256 | No | The identifying hash of the transaction that most recently modified this entry. | | `PreviousTxnLgrSeq` | Number | UInt32 | No | The [index of the ledger](/docs/references/protocol/data-types/basic-data-types#ledger-index) that contains the transaction that most recently modified this entry. | The JSON format for this ledger entry type is unusual. The `BaseFee`, `ReserveBase`, and `ReserveIncrement` indicate drops of XRP but ***not*** in the usual format for [specifying XRP](/docs/references/protocol/data-types/basic-data-types#specifying-currency-amounts). ## Flags There are no flags defined for the 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 ```