Parameters
- objectobjectREQUIRED
The ledger_current request object.
Returns
- resultobject
A result object which contains the following fields:
- ledger_current_indexinteger
The index of the current ledger
- statusstring
The status of the request
- warningsarray
(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
resultobject- idinteger
The ID of the warning
- messagestring
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