Clio develop
The XRP Ledger API server.
|
Validates that the elements of the array is of type Hex256 uint. More...
#include <Validators.hpp>
Static Public Member Functions | |
static MaybeError | verify (boost::json::value const &value, std::string_view key) |
Validates given the prerequisite that the type of the json value is an array, verifies all values within the array is of uint256 hash. | |
Validates that the elements of the array is of type Hex256 uint.
|
inlinestaticnodiscard |
Validates given the prerequisite that the type of the json value is an array, verifies all values within the array is of uint256 hash.
value | the value to verify |
key | The key used to retrieve the tested value from the outer object |
RippledError::rpcINVALID_PARAMS
if validation failed; otherwise no error is returned