public interface IConnector
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAllowance(String asset,
String from,
String to) |
Object |
getBalance(String address) |
Block |
getBlock(int height) |
Block |
getBlock(String hash) |
int |
getBlockHeight() |
int |
getBlockHeightByTxHash(String hash) |
Object |
getBlockJson(int height) |
Object |
getBlockJson(String hash) |
Object |
getContract(String hash) |
Object |
getContractJson(String hash) |
String |
getGrantOng(String address) |
Object |
getMemPoolTxCount() |
Object |
getMemPoolTxState(String hash) |
Object |
getMerkleProof(String hash) |
int |
getNetworkId() |
int |
getNodeCount() |
Object |
getNodeSyncStatus() |
Transaction |
getRawTransaction(String txhash) |
Object |
getRawTransactionJson(String txhash) |
String |
getSideChainData(String sideChainID) |
Object |
getSmartCodeEvent(int height) |
Object |
getSmartCodeEvent(String hash) |
String |
getStorage(String codehash,
String key) |
String |
getUrl() |
String |
getVersion() |
Object |
sendRawTransaction(boolean preExec,
String userid,
String hexData) |
Object |
sendRawTransaction(String hexData) |
String getUrl()
Object sendRawTransaction(boolean preExec, String userid, String hexData) throws ConnectorException, IOException
Object sendRawTransaction(String hexData) throws ConnectorException, IOException
Transaction getRawTransaction(String txhash) throws ConnectorException, IOException
Object getRawTransactionJson(String txhash) throws ConnectorException, IOException
int getNodeCount()
throws ConnectorException,
IOException
int getBlockHeight()
throws ConnectorException,
IOException
Block getBlock(int height) throws ConnectorException, IOException
Block getBlock(String hash) throws ConnectorException, IOException
Object getBlockJson(int height) throws ConnectorException, IOException
Object getBlockJson(String hash) throws ConnectorException, IOException
Object getBalance(String address) throws ConnectorException, IOException
Object getContract(String hash) throws ConnectorException, IOException
Object getContractJson(String hash) throws ConnectorException, IOException
Object getSmartCodeEvent(int height) throws ConnectorException, IOException
Object getSmartCodeEvent(String hash) throws ConnectorException, IOException
int getBlockHeightByTxHash(String hash) throws ConnectorException, IOException
String getStorage(String codehash, String key) throws ConnectorException, IOException
Object getMerkleProof(String hash) throws ConnectorException, IOException
String getAllowance(String asset, String from, String to) throws ConnectorException, IOException
Object getMemPoolTxCount() throws ConnectorException, IOException
Object getMemPoolTxState(String hash) throws ConnectorException, IOException
String getVersion() throws ConnectorException, IOException
String getGrantOng(String address) throws ConnectorException, IOException
int getNetworkId()
throws ConnectorException,
IOException
Object getNodeSyncStatus() throws ConnectorException, IOException
String getSideChainData(String sideChainID) throws ConnectorException, IOException
Copyright © 2021. All rights reserved.