Net
instead.@Deprecated
public interface Net
RPC
Modifier and Type | Method and Description |
---|---|
org.web3j.protocol.core.Request<?,Bytes> |
getNetworkId()
Deprecated.
Returns the network identifier (network ID).
|
org.web3j.protocol.core.Request<?,Quantity> |
getPeerCount()
Deprecated.
Returns the number of peers currently connected to the client.
|
org.web3j.protocol.core.Request<?,KlayPeerCount> |
getPeerCountByType()
Deprecated.
Returns the number of connected nodes by type and the total number of connected nodes.
|
org.web3j.protocol.core.Request<?,Boolean> |
isListening()
Deprecated.
Returns true if the client is actively listening for network connections.
|
org.web3j.protocol.core.Request<?,Bytes> getNetworkId()
org.web3j.protocol.core.Request<?,Boolean> isListening()
org.web3j.protocol.core.Request<?,Quantity> getPeerCount()
org.web3j.protocol.core.Request<?,KlayPeerCount> getPeerCountByType()