public class BlocksApi extends Object
| Constructor | Description |
|---|---|
BlocksApi() |
| Modifier and Type | Method | Description |
|---|---|---|
static Block |
getBlock(String blockId) |
Gets the block.
|
static List<String> |
getBlocksByTransactionId(String transactionId) |
Gets a list of block ids that contain the transaction
|
public static Block getBlock(String blockId) throws IOException
blockId - the block idIOException - Signals that an I/O exception has occurred.public static List<String> getBlocksByTransactionId(String transactionId) throws IOException
transactionId - the transaction idIOException - Signals that an I/O exception has occurred.Copyright © 2018. All rights reserved.