The random command provides a random number to be used as a source of entropy for random number generation by clients.
More...
#include <Random.hpp>
|
struct | Output |
| A struct to hold the output data of the command. More...
|
|
|
static Result | process (Context const &ctx) |
| Process the Random command.
|
|
The random command provides a random number to be used as a source of entropy for random number generation by clients.
For more details see: https://xrpl.org/random.html
◆ process()
RandomHandler::Result rpc::RandomHandler::process |
( |
Context const & | ctx | ) |
|
|
static |
Process the Random command.
- Parameters
-
ctx | The context of the request |
- Returns
- The result of the operation
◆ tag_invoke
void tag_invoke |
( |
boost::json::value_from_tag | , |
|
|
boost::json::value & | jv, |
|
|
RandomHandler::Output const & | output ) |
|
friend |
Convert the Output to a JSON object.
- Parameters
-
[out] | jv | The JSON object to convert to |
| output | The output to convert |
The documentation for this class was generated from the following files:
- /__w/clio/clio/src/rpc/handlers/Random.hpp
- /__w/clio/clio/src/rpc/handlers/Random.cpp