public class BatchRequest
extends java.lang.Object
Constructor and Description |
---|
BatchRequest(Web3jService web3jService) |
Modifier and Type | Method and Description |
---|---|
BatchRequest |
add(Request<?,? extends Response<?>> request) |
java.util.List<Request<?,? extends Response<?>>> |
getRequests() |
BatchResponse |
send() |
java.util.concurrent.CompletableFuture<BatchResponse> |
sendAsync() |
public BatchRequest(Web3jService web3jService)
public BatchRequest add(Request<?,? extends Response<?>> request)
public BatchResponse send() throws java.io.IOException
java.io.IOException
public java.util.concurrent.CompletableFuture<BatchResponse> sendAsync()