wss://honeycluster.iorandomReturns a random 256-bit hex value from the server. Useful for generating seeds or nonces.
{
"result": {
"random": "D27CC23E65B0541D82AEA3A1E4D8ABDF7B5C16F4F0C0BEBCCBDE6E8E7A63684C"
},
"status": "success",
"type": "response",
"id": 1
}| Field | Type | Description |
|---|---|---|
commandrequired | string | WebSocket command name |
id | object | Client-supplied identifier to correlate requests with responses. |
api_version | object | API version for the response format. Version 2 is the default for rippled 2.0+. |
{
"command": "random",
"id": 1
}| Field | Type | Description |
|---|---|---|
result | object | |
status | enum<string> | Available successerror |
type | string | |
id | stringnumber | Echo of the client-provided correlation ID |
{
"result": {
"random": "D27CC23E65B0541D82AEA3A1E4D8ABDF7B5C16F4F0C0BEBCCBDE6E8E7A63684C"
},
"status": "success",
"type": "response",
"id": 1
}