Skip to main content

ledger_current RPC Method

Loading...

Updated on
Jun 11, 2026

ledger_current RPC Method

Parameters

object
object
REQUIRED
Loading...

Returns

result
object
Loading...
ledger_current_index
integer
Loading...
status
string
Loading...
warnings
array
Loading...
id
integer
Loading...
message
string
Loading...
Request
1
curl -X POST "https://docs-demo.xrp-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "ledger_current",
6
"params": [
7
null
8
],
9
"id": 1
10
}'
1
curl -X POST "https://docs-demo.xrp-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "ledger_current",
6
"params": [
7
null
8
],
9
"id": 1
10
}'
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