mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-12-06 17:27:57 +00:00
Add Clio ledger_index API method
ledger_index method: add example responses & update details ledger_index method edits
This commit is contained in:
17
_api-examples/ledger_index/ws-response.json
Normal file
17
_api-examples/ledger_index/ws-response.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"result": {
|
||||
"ledger_index": 3679660,
|
||||
"ledger_hash": "346C9211428A102081A3BFFCCBE1F698E7E56163BBD1DF81B446418B3213DBD7",
|
||||
"closed": "2024-08-28T23:00:00Z",
|
||||
"validated": true
|
||||
},
|
||||
"id": "example_ledger_index",
|
||||
"status": "success",
|
||||
"type": "response",
|
||||
"warnings": [
|
||||
{
|
||||
"id": 2001,
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user