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

Method getPage

sdk/java/src/main/java/com/chain/api/Balance.java:45–49  ·  view source on GitHub ↗

Requests a page of asset balances based on an underlying query. @return a collection of balance objects @throws APIException This exception is raised if the api returns errors while retrieving the balances. @throws BadURLException This exception wraps java.net.MalformedURLException. @throws Connecti

()

Source from the content-addressed store, hash-verified

43 * @throws JSONException This exception is raised due to malformed json requests or responses.
44 */
45 public Items getPage() throws ChainException {
46 Items items = this.client.request("list-balances", this.next, Items.class);
47 items.setClient(this.client);
48 return items;
49 }
50 }
51
52 /**

Callers 1

executeMethod · 0.95

Calls 2

setClientMethod · 0.80
requestMethod · 0.45

Tested by

no test coverage detected