wss://honeycluster.ioserver_definitionsReturns the definitions (type codes, field names, etc.) used by this server for serializing and deserializing ledger data.
{
"result": {
"hash": "254F1003EFEFE7D2EDBC0D8B53B1675F9A070EB86E2FAB82CD22D4B0C879CA5C",
"FIELDS": [],
"LEDGER_ENTRY_TYPES": {},
"TRANSACTION_RESULTS": {},
"TRANSACTION_TYPES": {},
"TYPES": {}
},
"status": "success",
"type": "response",
"id": 1
}| Field | Type | Description |
|---|---|---|
commandrequired | string | WebSocket command name |
id | object | Client-supplied identifier to correlate requests with responses. |
hash | string | If provided, returns definitions only if different from this hash. |
api_version | object | API version for the response format. Version 2 is the default for rippled 2.0+. |
{
"command": "server_definitions",
"id": 1
}| Field | Type | Description |
|---|---|---|
result | object | |
status | enum<string> | Available successerror |
type | string | |
id | stringnumber | Echo of the client-provided correlation ID |
{
"result": {
"hash": "254F1003EFEFE7D2EDBC0D8B53B1675F9A070EB86E2FAB82CD22D4B0C879CA5C",
"FIELDS": [],
"LEDGER_ENTRY_TYPES": {},
"TRANSACTION_RESULTS": {},
"TRANSACTION_TYPES": {},
"TYPES": {}
},
"status": "success",
"type": "response",
"id": 1
}