Class EthSyncing
- java.lang.Object
-
- org.web3j.protocol.core.Response<EthSyncing.Result>
-
- org.web3j.protocol.core.methods.response.EthSyncing
-
public class EthSyncing extends Response<EthSyncing.Result>
eth_syncing.Returns an object with data about the sync status or false.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEthSyncing.ResponseDeserialiserstatic classEthSyncing.Resultstatic classEthSyncing.Syncing-
Nested classes/interfaces inherited from class org.web3j.protocol.core.Response
Response.Error
-
-
Constructor Summary
Constructors Constructor Description EthSyncing()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisSyncing()voidsetResult(EthSyncing.Result result)-
Methods inherited from class org.web3j.protocol.core.Response
getError, getId, getJsonrpc, getRawResponse, getResult, hasError, setError, setId, setJsonrpc, setRawResponse
-
-
-
-
Method Detail
-
setResult
public void setResult(EthSyncing.Result result)
- Overrides:
setResultin classResponse<EthSyncing.Result>
-
isSyncing
public boolean isSyncing()
-
-