Skip to main content

ledger_current RPC Method

Returns the unique identifiers of the current in-progress ledger

Updated on
Jun 11, 2026

Parameters

object
object
REQUIRED

The ledger_current request object.

Returns

result
object

A result object which contains the following fields:

ledger_current_index
integer

The index of the current ledger

status
string

The status of the request

warnings
array

(Optional) An array of warning objects, each containing 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
"ledger_current_index": 102609806,
4
"status": "success"
5
},
6
"status": "success",
7
"type": "response",
8
"forwarded": true,
9
"warnings": [
10
{
11
"id": 2001,
12
"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"
13
}
14
]
15
}
1
{
2
"result": {
3
"ledger_current_index": 102609806,
4
"status": "success"
5
},
6
"status": "success",
7
"type": "response",
8
"forwarded": true,
9
"warnings": [
10
{
11
"id": 2001,
12
"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"
13
}
14
]
15
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free