20 Compute Units.
Reference: Here
Parameters
None
Returns
random(string) Random 256-bit hex value.
{"id":1,"command":"random"} to wss://mainnet.xrpl.validationcloud.io/v1/<YOUR_API_KEY_HERE>.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
20 Compute Units.
None
random (string) Random 256-bit hex value.// Result
{
"result": {
"random": "31961697CC7874B85BCA6F0F731F0C2449122BFCB9E74A8493F6C91343B6D81D",
"status": "success"
}
}
curl https://mainnet.xrpl.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"method":"random","params":[{}]}'
{"id":1,"command":"random"} to wss://mainnet.xrpl.validationcloud.io/v1/<YOUR_API_KEY_HERE>.