public class RpcClient extends AbstractConnector
public RpcClient(String url)
public String getUrl()
public Object getBalance(String address) throws ConnectorException, IOException
public String sendRawTransaction(String sData) throws RpcException, IOException
public Object sendRawTransaction(boolean preExec, String userid, String sData) throws RpcException, IOException
public Transaction getRawTransaction(String txhash) throws RpcException, IOException
public Object getRawTransactionJson(String txhash) throws RpcException, IOException
public int getNodeCount()
throws RpcException,
IOException
public int getBlockHeight()
throws RpcException,
IOException
public Object getBlockJson(int index) throws RpcException, IOException
public Object getBlockJson(String hash) throws RpcException, IOException
public Object getContract(String hash) throws RpcException, IOException
public Object getContractJson(String hash) throws RpcException, IOException
public String getRawTransaction(UInt256 txhash) throws RpcException, IOException
public Block getBlock(UInt256 hash) throws RpcException, IOException
public Block getBlock(int index) throws RpcException, IOException
public int getBlockCount()
throws RpcException,
IOException
public Block getBlock(String hash) throws ConnectorException, IOException
public Object getSmartCodeEvent(int height) throws ConnectorException, IOException
public Object getSmartCodeEvent(String hash) throws ConnectorException, IOException
public int getBlockHeightByTxHash(String hash) throws ConnectorException, IOException
public String getStorage(String codehash, String key) throws ConnectorException, IOException
public Object getMerkleProof(String hash) throws ConnectorException, IOException
public String getAllowance(String asset, String from, String to) throws ConnectorException, IOException
public Object getMemPoolTxCount() throws ConnectorException, IOException
public Object getMemPoolTxState(String hash) throws ConnectorException, IOException
public String getVersion() throws ConnectorException, IOException
public String getGrantOng(String address) throws ConnectorException, IOException
public int getNetworkId()
throws ConnectorException,
IOException
public Object getNodeSyncStatus() throws ConnectorException, IOException
public String getSideChainData(String sideChainID) throws ConnectorException, IOException
Copyright © 2021. All rights reserved.