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
In addition to the [common fields](../common-fields.md), the {% code-page-name /%} ledger entry has the following fields:
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:
29
50
51
+
{% tabs %}
52
+
{% tab label="Current Format" %}
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. |
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. |
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. |
58
+
|`PreviousTxnID`| String | UInt256 | No | The identifying hash of 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][].)_|
60
+
{% /tab %}
61
+
62
+
{% tab label="Legacy Format" %}
30
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. |
33
-
|`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`. |
34
-
|`LedgerEntryType`| String | UInt16 | Yes | The value `0x0073`, mapped to the string `FeeSettings`, indicates that this object contains the ledger's fee settings. |
35
66
|`ReferenceFeeUnits`| Number | UInt32 | Yes | The `BaseFee` translated into "fee units". |
36
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. |
37
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. |
@@ -40,16 +71,8 @@ In addition to the [common fields](../common-fields.md), the {% code-page-name /
40
71
41
72
{% admonition type="danger" name="Warning" %}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][Currency Amount].{% /admonition %}
42
73
43
-
44
-
If the _[XRPFees amendment][]_ is enabled, the `FeeSettings` object has these fields instead:
45
-
46
-
| 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. |
49
-
|`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`. |
50
-
|`LedgerEntryType`| String | UInt16 | Yes | The value `0x0073`, mapped to the string `FeeSettings`, indicates that this object contains the ledger's fee settings. |
51
-
|`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. |
52
-
|`ReserveIncrementDrops`| String | Amount | Yes | The incremental [owner reserve](../../../../concepts/accounts/reserves.md#base-reserve-and-owner-reserve) for owning objects, as drops of XRP. |
0 commit comments