public class NodeClient extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEPLOY_TOO_LARGE_MSG |
| Constructor and Description |
|---|
NodeClient(DeployService deployService,
HashService hashService,
HttpMethods httpMethods) |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getAccountBalance(String accountKey) |
String |
getAccountInfo(String accountKey) |
URef |
getAccountMainPurseURef(String accountKey) |
String |
getAuctionInfo() |
String |
getBlockInfo(Digest blockHash) |
String |
getBlockInfoByHeight(Number height) |
String |
getBlockTransfers()
Obtains the nodes chain block transfers
|
Deploy |
getDeploy(Digest deployHash) |
String |
getEraInfoBySwitchBlock()
Obtains the chain era info by switch block result as JSON
|
String |
getLatestBlockInfo() |
String |
getNodePeers() |
String |
getNodeStatus() |
String |
getRpcSchema()
Obtain the RPC Schema
|
String |
getStateRootHash() |
String |
putDeploy(Deploy signedDeploy) |
public static final String DEPLOY_TOO_LARGE_MSG
public NodeClient(DeployService deployService, HashService hashService, HttpMethods httpMethods)
public String getStateRootHash()
public BigInteger getAccountBalance(String accountKey)
public String getAuctionInfo()
public String getNodePeers()
public String getNodeStatus()
public String getLatestBlockInfo()
public String getRpcSchema()
public String getBlockTransfers()
public String getEraInfoBySwitchBlock()
Copyright © 2022. All rights reserved.