random RPC Method
Parameters
This method does not accept any parameters
Returns
result
object
An object which contains the following fields:
random
string
A random 256-bit hex value
validated
boolean
It indicates whether the result has been validated
status
string
The status of the request
warnings
array
An array of warning objects, each containing the following fields:
id
integer
The ID of the warning
message
string
The warning message
Request
1curl https://docs-demo.xrp-mainnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{5"method": "random",6"params": [{}],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free