MCPcopy
hub / github.com/ccxt/ccxt / request

Method request

java/lib/src/main/java/io/github/ccxt/Exchange.java:8707–8721  ·  view source on GitHub ↗
(Object path, Object... optionalArgs)

Source from the content-addressed store, hash-verified

8705 }
8706
8707 public java.util.concurrent.CompletableFuture<Object> request(Object path, Object... optionalArgs)
8708 {
8709
8710 return java.util.concurrent.CompletableFuture.supplyAsync(() -> {
8711
8712 Object api = Helpers.getArg(optionalArgs, 0, "public");
8713 Object method = Helpers.getArg(optionalArgs, 1, "GET");
8714 Object parameters = Helpers.getArg(optionalArgs, 2, new java.util.HashMap<String, Object>() {{}});
8715 Object headers = Helpers.getArg(optionalArgs, 3, null);
8716 Object body = Helpers.getArg(optionalArgs, 4, null);
8717 Object config = Helpers.getArg(optionalArgs, 5, new java.util.HashMap<String, Object>() {{}});
8718 return (this.fetch2(path, api, method, parameters, headers, body, config)).join();
8719 });
8720
8721 }
8722
8723 public java.util.concurrent.CompletableFuture<Object> loadAccounts(Object... optionalArgs)
8724 {

Callers

nothing calls this directly

Calls 2

getArgMethod · 0.95
fetch2Method · 0.95

Tested by

no test coverage detected