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:
29
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:
52
+
53
+
{% tabs %}
54
+
{% tab label="Current Format" %}
30
55
| 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. |
@@ -35,7 +60,25 @@ In addition to the [common fields](../common-fields.md), the {% code-page-name /
35
60
|`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. |
36
61
|`ReserveIncrementDrops`| String | Amount | Yes | The incremental [owner reserve](../../../../concepts/accounts/reserves.md#base-reserve-and-owner-reserve) for owning objects, as drops of XRP. |
37
62
|`PreviousTxnID`| String | UInt256 | No | The identifying hash of the transaction that most recently modified this entry. _(Added by the [fixPreviousTxnID amendment][].)_|
38
-
| `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]
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][].)_|
64
+
{% /tab %}
65
+
66
+
{% tab label="Legacy Format" %}
67
+
| 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
+
|`ReferenceFeeUnits`| Number | UInt32 | Yes | The `BaseFee` translated into "fee units". |
73
+
|`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
+
|`ReserveIncrement`| Number | UInt32 | Yes | The incremental [owner reserve](../../../../concepts/accounts/reserves.md#base-reserve-and-owner-reserve) for owning objects, as drops of XRP. |
75
+
|`PreviousTxnID`| String | UInt256 | No | The identifying hash of the transaction that most recently modified this entry. _(Added by the [fixPreviousTxnID amendment][].)_|
76
+
|`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][].)_|
77
+
78
+
{% 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 %}
0 commit comments