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

Method createReceiverBatch

sdk/java/src/main/java/com/chain/api/Account.java:410–414  ·  view source on GitHub ↗

Creates multiple Receiver objects under one or more accounts, as a batch. @param client the client object providing access to an instance of Chain Core @param builders a list of builder objects, one for each new Receiver to be created @return a list of new Receiver objects or error messages, as a {

(
      Client client, List<ReceiverBuilder> builders)

Source from the content-addressed store, hash-verified

408 * @throws JSONException This exception is raised due to malformed json requests or responses.
409 */
410 public static BatchResponse<Receiver> createReceiverBatch(
411 Client client, List<ReceiverBuilder> builders) throws ChainException {
412 return client.batchRequest(
413 "create-account-receiver", builders, Receiver.class, APIException.class);
414 }
415}

Callers 3

callbacks.jsFile · 0.80
promises.jsFile · 0.80

Calls 1

batchRequestMethod · 0.80

Tested by 1