random
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Generate a random number using the server's random number generator. This method returns a high-quality random value that can be used for cryptographic operations, nonce generation, or other applications requiring secure randomness. The random value is generated using the server's cryptographically secure random number generator.
Body
Generate a random number using the server's random number generator. This method returns a high-quality random value that can be used for cryptographic operations, nonce generation, or other applications requiring secure randomness. The random value is generated using the server's cryptographically secure random number generator.
JSON-RPC request payload.
methodstringrandomrequiredThe JSON-RPC method name
paramsArray<object>requiredOrdered JSON-RPC method parameters.
Response
HTTP 200 response for random. The body contains either a successful result or a method-level JSON-RPC error.
Bad Request. The request body is malformed or contains invalid JSON-RPC parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.