MCPcopy Index your code
hub / github.com/chain/Core / resetEverything

Method resetEverything

sdk/java/src/main/java/com/chain/api/CoreConfig.java:184–188  ·  view source on GitHub ↗

Resets all data on the specified Chain Core, including access tokens and MockHSM keys. @param client client object that makes requests to the core

(Client client)

Source from the content-addressed store, hash-verified

182 * @param client client object that makes requests to the core
183 */
184 public static void resetEverything(Client client) throws ChainException {
185 Map<String, Object> params = new HashMap<>();
186 params.put("everything", true);
187 client.request("reset", params, SuccessMessage.class);
188 }
189
190 public static class Builder {
191 /**

Callers 1

runMethod · 0.95

Calls 1

requestMethod · 0.45

Tested by 1

runMethod · 0.76