Sandbox version
For experimental use only. Proceed with caution.
Utility Methods
Generate random value
wss://honeycluster.io
rpc method: random

Returns a random 256-bit hex value from the server. Useful for generating seeds or nonces.

Try it now
Response · random WS Response
{
  "result": {
    "random": "D27CC23E65B0541D82AEA3A1E4D8ABDF7B5C16F4F0C0BEBCCBDE6E8E7A63684C"
  },
  "status": "success",
  "type": "response",
  "id": 1
}
Request Message
random WS Request
application/json
Generate random value
FieldTypeDescription
command
required
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+.
Example
Json
{
  "command": "random",
  "id": 1
}
Response Message
random WS Response
application/json
WebSocket response for random
FieldTypeDescription
result
object
status
enum<string>
Available
successerror
type
string
id
stringnumber
Echo of the client-provided correlation ID
Example
Json
{
  "result": {
    "random": "D27CC23E65B0541D82AEA3A1E4D8ABDF7B5C16F4F0C0BEBCCBDE6E8E7A63684C"
  },
  "status": "success",
  "type": "response",
  "id": 1
}