Skip to main content
Provides a random number to be used as a source of entropy for random number generation by clients. This method will use 20 Compute Units.

Reference: Here

Parameters

None

Returns

  • random (string) Random 256-bit hex value.
Over WebSocket, send {"id":1,"command":"random"} to wss://mainnet.xrpl.validationcloud.io/v1/<YOUR_API_KEY_HERE>.