io.everitoken.sdk.java.apiResource.TransactionIds Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chain-sdk Show documentation
Show all versions of chain-sdk Show documentation
Official Java SDK for everiToken public chain. https://www.everitoken.io
package io.everitoken.sdk.java.apiResource;
import com.alibaba.fastjson.JSONArray;
import org.jetbrains.annotations.NotNull;
import io.everitoken.sdk.java.exceptions.ApiResponseException;
import io.everitoken.sdk.java.param.RequestParams;
public class TransactionIds extends OkhttpApi {
private static final String uri = "/v1/chain/get_transaction_ids_for_block";
public TransactionIds() {
super(uri);
}
public TransactionIds(@NotNull ApiRequestConfig apiRequestConfig) {
super(uri, apiRequestConfig);
}
public JSONArray request(RequestParams requestParams) throws ApiResponseException {
return JSONArray.parseArray(super.makeRequest(requestParams));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy