FeeSettings
The FeeSettings
object type contains the current base transaction cost and reserve amounts as determined by fee voting. Each ledger version contains at most one FeeSettings
object.
Example FeeSettings JSON
Example FeeSettings
object:
{
"BaseFee": "000000000000000A",
"Flags": 0,
"LedgerEntryType": "FeeSettings",
"ReferenceFeeUnits": 10,
"ReserveBase": 20000000,
"ReserveIncrement": 5000000,
"index": "4BC50C9B0D8515D3EAAE1E74B29A95804346C491EE1A95BF25E4AAB854A6A651"
}
FeeSettings Fields
The FeeSettings
object has the following fields:
Name | JSON Type | Internal Type | Description |
---|---|---|---|
LedgerEntryType |
String | UInt16 | The value 0x0073 , mapped to the string FeeSettings , indicates that this object contains the ledger's fee settings. |
BaseFee |
String | UInt64 | The transaction cost of the "reference transaction" in drops of XAG as hexadecimal. |
ReferenceFeeUnits |
Number | UInt32 | The BaseFee translated into "fee units". |
ReserveBase |
Number | UInt32 | The base reserve for an account in the XAG Ledger, as drops of XAG. |
ReserveIncrement |
Number | UInt32 | The incremental owner reserve for owning objects, as drops of XAG. |
Flags |
Number | UInt32 | A bit-map of boolean flags for this object. No flags are defined for this type. |
Warning:* The JSON format for this ledger object type is unusual. The BaseFee
, ReserveBase
, and ReserveIncrement
indicate drops of XAG but not*** in the usual format for specifying XAG.
FeeSettings ID Format
The FeeSettings
object ID is the hash of the FeeSettings
space key (0x0065
) only. This means that the ID of the FeeSettings
object in a ledger is always:
4BC50C9B0D8515D3EAAE1E74B29A95804346C491EE1A95BF25E4AAB854A6A651