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

Method getPage

sdk/java/src/main/java/com/chain/api/Asset.java:139–144  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

137 * @throws JSONException This exception is raised due to malformed json requests or responses.
138 */
139 @Override
140 public Items getPage() throws ChainException {
141 Items items = this.client.request("list-assets", this.next, Items.class);
142 items.setClient(this.client);
143 return items;
144 }
145 }
146
147 /**

Callers 1

executeMethod · 0.95

Calls 2

setClientMethod · 0.80
requestMethod · 0.45

Tested by

no test coverage detected