You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/references/protocol/ledger-data/ledger-entry-types/feesettings.md
+2-8Lines changed: 2 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,29 +46,23 @@ This ledger entry has two formats, depending on whether the [XRPFees amendment][
46
46
47
47
## {% $frontmatter.seo.title %} Fields
48
48
49
-
In addition to the [common fields](../common-fields.md), the {% code-page-name /%} ledger entry has the following fields:
50
-
51
-
The fields of a SetFee pseudo-transaction depend on whether the [XRPFees amendment][] was enabled at the time. In addition to the [common fields](./pseudo-transaction-types.md), they can use the following:
49
+
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](../common-fields.md), are as follows:
52
50
53
51
{% tabs %}
54
52
{% tab label="Current Format" %}
55
53
| Name | JSON Type |[Internal Type][]| Required? | Description |
|`BaseFeeDrops`| String | Amount | Yes | The [transaction cost](../../../../concepts/transactions/transaction-cost.md) of the "reference transaction" in drops of XRP. |
58
-
|`Flags`| Number | UInt32 | Yes | A bitmap of boolean flags enabled for this object. Currently, the protocol defines no flags for `FeeSettings` objects. The value is always `0`. |
59
-
|`LedgerEntryType`| String | UInt16 | Yes | The value `0x0073`, mapped to the string `FeeSettings`, indicates that this object contains the ledger's fee settings. |
60
56
|`ReserveBaseDrops`| String | Amount | Yes | The [base reserve](../../../../concepts/accounts/reserves.md#base-reserve-and-owner-reserve) for an account in the XRP Ledger, as drops of XRP. |
61
57
|`ReserveIncrementDrops`| String | Amount | Yes | The incremental [owner reserve](../../../../concepts/accounts/reserves.md#base-reserve-and-owner-reserve) for owning objects, as drops of XRP. |
62
58
|`PreviousTxnID`| String | UInt256 | No | The identifying hash of the transaction that most recently modified this entry. _(Added by the [fixPreviousTxnID amendment][].)_|
63
-
|`PreviousTxnLgrSeq`| Number | UInt32 | No | The [index of the ledger][Ledger Index] that contains the transaction that most recently modified this entry. _(Added by the [fixPreviousTxnID amendment][].)_|
59
+
|`PreviousTxnLgrSeq`| Number | UInt32 | No | The [index of the ledger][Ledger Index] that contains the transaction that most recently modified this entry. _(Added by the [fixPreviousTxnID amendment][].)_|
64
60
{% /tab %}
65
61
66
62
{% tab label="Legacy Format" %}
67
63
| Name | JSON Type |[Internal Type][]| Required? | Description |
|`BaseFee`| String | UInt64 | Yes | The [transaction cost](../../../../concepts/transactions/transaction-cost.md) of the "reference transaction" in drops of XRP as hexadecimal. |
70
-
|`Flags`| Number | UInt32 | Yes | A bit-map of boolean flags enabled for this object. Currently, the protocol defines no flags for `FeeSettings` objects. The value is always `0`. |
71
-
|`LedgerEntryType`| String | UInt16 | Yes | The value `0x0073`, mapped to the string `FeeSettings`, indicates that this object contains the ledger's fee settings. |
72
66
|`ReferenceFeeUnits`| Number | UInt32 | Yes | The `BaseFee` translated into "fee units". |
73
67
|`ReserveBase`| Number | UInt32 | Yes | The [base reserve](../../../../concepts/accounts/reserves.md#base-reserve-and-owner-reserve) for an account in the XRP Ledger, as drops of XRP. |
74
68
|`ReserveIncrement`| Number | UInt32 | Yes | The incremental [owner reserve](../../../../concepts/accounts/reserves.md#base-reserve-and-owner-reserve) for owning objects, as drops of XRP. |
0 commit comments