Skip to main content

fee RPC Method

Provides information about the current state of the open-ledger requirements for transaction costs, assuming the FeeEscalation amendment is enabled

Updated on
Jun 11, 2026

Parameters

object
object
REQUIRED

The fee request object.

Returns

result
object

An object which contains the following fields:

current_ledger_size
string

The size of the current ledger

current_queue_size
string

The size of the current transaction queue

drops
object

An object containing details about the fees in drops

base_fee
string

The base fee in drops

median_fee
string

The median fee in drops

minimum_fee
string

The minimum fee in drops

open_ledger_fee
string

The fee for an open ledger in drops

expected_ledger_size
string

The expected size of the ledger

ledger_current_index
integer

The index of the current ledger

levels
object

An object containing details about the fee levels

median_level
string

The median fee level

minimum_level
string

The minimum fee level

open_ledger_level
string

The fee level for an open ledger

reference_level
string

The reference fee level

max_queue_size
string

The maximum size of the transaction queue

status
string

The status of the request

warnings
array

(Optional) An object of warning which contain the following fields. Returned at the JSON-RPC response root on some servers and omitted from the result object

id
integer

The ID of the warning

message
string

The warning message

Request
Response
1
{
2
"result": {
3
"current_ledger_size": "155",
4
"current_queue_size": "0",
5
"drops": {
6
"base_fee": "10",
7
"median_fee": "5000",
8
"minimum_fee": "10",
9
"open_ledger_fee": "10"
10
},
11
"expected_ledger_size": "426",
12
"ledger_current_index": 102609805,
13
"levels": {
14
"median_level": "128000",
15
"minimum_level": "256",
16
"open_ledger_level": "256",
17
"reference_level": "256"
18
},
19
"max_queue_size": "8520",
20
"status": "success"
21
},
22
"status": "success",
23
"type": "response",
24
"forwarded": true,
25
"warnings": [
26
{
27
"id": 2001,
28
"message": "This is a clio server. clio only serves validated data. If you want to talk to rippled, include 'ledger_index':'current' in your request"
29
}
30
]
31
}
1
{
2
"result": {
3
"current_ledger_size": "155",
4
"current_queue_size": "0",
5
"drops": {
6
"base_fee": "10",
7
"median_fee": "5000",
8
"minimum_fee": "10",
9
"open_ledger_fee": "10"
10
},
11
"expected_ledger_size": "426",
12
"ledger_current_index": 102609805,
13
"levels": {
14
"median_level": "128000",
15
"minimum_level": "256",
16
"open_ledger_level": "256",
17
"reference_level": "256"
18
},
19
"max_queue_size": "8520",
20
"status": "success"
21
},
22
"status": "success",
23
"type": "response",
24
"forwarded": true,
25
"warnings": [
26
{
27
"id": 2001,
28
"message": "This is a clio server. clio only serves validated data. If you want to talk to rippled, include 'ledger_index':'current' in your request"
29
}
30
]
31
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free