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

Method execute

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

Executes a query on the core's assets. @param client client object that makes requests to the core @return a collection 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.Malforme

(Client client)

Source from the content-addressed store, hash-verified

161 * @throws JSONException This exception is raised due to malformed json requests or responses.
162 */
163 public Items execute(Client client) throws ChainException {
164 Items items = new Items();
165 items.setClient(client);
166 items.setNext(this.next);
167 return items.getPage();
168 }
169 }
170
171 /**

Callers 15

getAssetMethod · 0.45
getAccountMethod · 0.45
loadKeysMethod · 0.45
getAssetMethod · 0.45
getAccountMethod · 0.45
loadKeysMethod · 0.45
testKeyQueryMethod · 0.45
testAccountQueryMethod · 0.45
testAssetQueryMethod · 0.45
testAssetPaginationMethod · 0.45
testTransactionQueryMethod · 0.45
testBalanceQueryMethod · 0.45

Calls 3

getPageMethod · 0.95
setClientMethod · 0.80
setNextMethod · 0.80

Tested by 15

testKeyQueryMethod · 0.36
testAccountQueryMethod · 0.36
testAssetQueryMethod · 0.36
testAssetPaginationMethod · 0.36
testTransactionQueryMethod · 0.36
testBalanceQueryMethod · 0.36
testPaginationMethod · 0.36
accountTagsMethod · 0.36
assetTagsMethod · 0.36
setupMethod · 0.36
testBasicTransactionMethod · 0.36