Class ListBlocksApi
- java.lang.Object
-
- com.h2tcoin.takamakachain.api.Route
-
- com.h2tcoin.takamakachain.api.routes.ListBlocksApi
-
-
Constructor Summary
Constructors Constructor Description ListBlocksApi(String url, String... methods)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
code(HttpExchange he)
static String
listBlocks(String pk, int limit, String blockHash, boolean hasBlockHash)
-
Methods inherited from class com.h2tcoin.takamakachain.api.Route
exchange, getAllowed_methods, getUrl, setAllowed_methods, setUrl
-
-
-
-
Method Detail
-
listBlocks
public static String listBlocks(String pk, int limit, String blockHash, boolean hasBlockHash) throws NoSuchAlgorithmException
- Parameters:
pk
-limit
-blockHash
-- Returns:
- Throws:
NoSuchAlgorithmException
-
-