Skip to main content

ledger_closed RPC Method

Loading...

Updated on
Jun 11, 2026

ledger_closed RPC Method

Parameters

object
object
REQUIRED
Loading...

Returns

result
object
Loading...
ledger_hash
string
Loading...
ledger_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_closed",
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_closed",
6
"params": [
7
null
8
],
9
"id": 1
10
}'
Response
1
{
2
"result": {
3
"ledger_hash": "6188EA4100D68174D4D47C2861D04AFB9835A7C9DCF8937997D96E6A7B904FA7",
4
"ledger_index": 102609805,
5
"status": "success"
6
},
7
"status": "success",
8
"type": "response",
9
"forwarded": true,
10
"warnings": [
11
{
12
"id": 2001,
13
"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"
14
}
15
]
16
}
1
{
2
"result": {
3
"ledger_hash": "6188EA4100D68174D4D47C2861D04AFB9835A7C9DCF8937997D96E6A7B904FA7",
4
"ledger_index": 102609805,
5
"status": "success"
6
},
7
"status": "success",
8
"type": "response",
9
"forwarded": true,
10
"warnings": [
11
{
12
"id": 2001,
13
"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"
14
}
15
]
16
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free