public class RPC
extends java.lang.Object
| Constructor and Description |
|---|
RPC() |
RPC(org.web3j.protocol.http.HttpService service) |
RPC(java.lang.String url) |
RPC(java.lang.String url,
boolean includeRawResponse) |
| Modifier and Type | Method and Description |
|---|---|
org.web3j.protocol.core.Request<?,HmyResponse> |
call(CallArgs transaction,
org.web3j.protocol.core.DefaultBlockParameter defaultBlockParameter) |
org.web3j.protocol.core.Request<?,HmyResponse> |
getBalance(java.lang.String oneAddress) |
org.web3j.protocol.core.Request<?,HmyResponse> |
getCode(java.lang.String contractAddress,
org.web3j.protocol.core.DefaultBlockParameter defaultBlockParameter) |
org.web3j.protocol.core.Request<?,HmyResponse> |
getProtocolVersion() |
org.web3j.protocol.core.Request<?,ShardingStructure> |
getShardingStructure() |
org.web3j.protocol.core.Request<?,HmyResponse> |
getTransactionCount(java.lang.String hexAddr) |
org.web3j.protocol.core.Request<?,TransactionReceiptResponse> |
getTransactionReceipt(java.lang.String txHash) |
org.web3j.protocol.core.Request<?,AccountTransactionsResponse> |
getTransactionsHistory(java.lang.Object paramsObj) |
org.web3j.protocol.core.Request<?,HmyResponse> |
rpcClient() |
org.web3j.protocol.core.Request<?,HmyResponse> |
sendRawTransaction(java.lang.String raw) |
public RPC()
public RPC(org.web3j.protocol.http.HttpService service)
public RPC(java.lang.String url)
public RPC(java.lang.String url,
boolean includeRawResponse)
public org.web3j.protocol.core.Request<?,HmyResponse> rpcClient()
public org.web3j.protocol.core.Request<?,HmyResponse> sendRawTransaction(java.lang.String raw)
public org.web3j.protocol.core.Request<?,ShardingStructure> getShardingStructure()
public org.web3j.protocol.core.Request<?,HmyResponse> getBalance(java.lang.String oneAddress)
public org.web3j.protocol.core.Request<?,HmyResponse> getProtocolVersion()
public org.web3j.protocol.core.Request<?,HmyResponse> getTransactionCount(java.lang.String hexAddr)
public org.web3j.protocol.core.Request<?,TransactionReceiptResponse> getTransactionReceipt(java.lang.String txHash)
public org.web3j.protocol.core.Request<?,AccountTransactionsResponse> getTransactionsHistory(java.lang.Object paramsObj)
public org.web3j.protocol.core.Request<?,HmyResponse> getCode(java.lang.String contractAddress, org.web3j.protocol.core.DefaultBlockParameter defaultBlockParameter)
public org.web3j.protocol.core.Request<?,HmyResponse> call(CallArgs transaction, org.web3j.protocol.core.DefaultBlockParameter defaultBlockParameter)