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)
| 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 | } |