public class JsonRpc2_0Geth extends org.web3j.protocol.admin.JsonRpc2_0Admin implements Geth
Constructor and Description |
---|
JsonRpc2_0Geth(org.web3j.protocol.Web3jService web3jService) |
Modifier and Type | Method and Description |
---|---|
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.MinerStartResponse> |
minerStart(int threadCount) |
org.web3j.protocol.core.Request<?,org.web3j.protocol.admin.methods.response.BooleanResponse> |
minerStop() |
io.reactivex.Flowable<org.web3j.protocol.websocket.events.PendingTransactionNotification> |
newPendingTransactionsNotifications()
Creates an
Flowable instance that emits a notification when a new transaction is
added to the pending state and is signed with a key that is available in the node. |
org.web3j.protocol.core.Request<?,PersonalEcRecover> |
personalEcRecover(java.lang.String hexMessage,
java.lang.String signedMessage) |
org.web3j.protocol.core.Request<?,PersonalImportRawKey> |
personalImportRawKey(java.lang.String keydata,
java.lang.String password) |
org.web3j.protocol.core.Request<?,org.web3j.protocol.admin.methods.response.BooleanResponse> |
personalLockAccount(java.lang.String accountId) |
org.web3j.protocol.core.Request<?,org.web3j.protocol.admin.methods.response.PersonalSign> |
personalSign(java.lang.String message,
java.lang.String accountId,
java.lang.String password) |
io.reactivex.Flowable<org.web3j.protocol.websocket.events.SyncingNotfication> |
syncingStatusNotifications()
Creates an
Flowable instance that emits a notification when a node starts or stops
syncing. |
personalListAccounts, personalNewAccount, personalSendTransaction, personalUnlockAccount, personalUnlockAccount, txPoolContent
adminNodeInfo, adminPeers, blockFlowable, dbGetHex, dbGetString, dbPutHex, dbPutString, ethAccounts, ethBlockHashFlowable, ethBlockNumber, ethCall, ethChainId, ethCoinbase, ethCompileLLL, ethCompileSerpent, ethCompileSolidity, ethEstimateGas, ethGasPrice, ethGetBalance, ethGetBlockByHash, ethGetBlockByNumber, ethGetBlockTransactionCountByHash, ethGetBlockTransactionCountByNumber, ethGetCode, ethGetCompilers, ethGetFilterChanges, ethGetFilterLogs, ethGetLogs, ethGetStorageAt, ethGetTransactionByBlockHashAndIndex, ethGetTransactionByBlockNumberAndIndex, ethGetTransactionByHash, ethGetTransactionCount, ethGetTransactionReceipt, ethGetUncleByBlockHashAndIndex, ethGetUncleByBlockNumberAndIndex, ethGetUncleCountByBlockHash, ethGetUncleCountByBlockNumber, ethGetWork, ethHashrate, ethLogFlowable, ethMining, ethNewBlockFilter, ethNewFilter, ethNewPendingTransactionFilter, ethPendingTransactionHashFlowable, ethProtocolVersion, ethSendRawTransaction, ethSendTransaction, ethSign, ethSubmitHashrate, ethSubmitWork, ethSyncing, ethUninstallFilter, logsNotifications, netListening, netPeerCount, netVersion, newBatch, newHeadsNotifications, pendingTransactionFlowable, replayPastAndFutureBlocksFlowable, replayPastAndFutureTransactionsFlowable, replayPastBlocksFlowable, replayPastBlocksFlowable, replayPastBlocksFlowable, replayPastBlocksFlowable, replayPastTransactionsFlowable, replayPastTransactionsFlowable, shhAddToGroup, shhGetFilterChanges, shhGetMessages, shhHasIdentity, shhNewFilter, shhNewGroup, shhNewIdentity, shhPost, shhUninstallFilter, shhVersion, shutdown, transactionFlowable, web3ClientVersion, web3Sha3
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build, personalListAccounts, personalNewAccount, personalSendTransaction, personalUnlockAccount, personalUnlockAccount, txPoolContent
adminNodeInfo, adminPeers, dbGetHex, dbGetString, dbPutHex, dbPutString, ethAccounts, ethBlockNumber, ethCall, ethChainId, ethCoinbase, ethCompileLLL, ethCompileSerpent, ethCompileSolidity, ethEstimateGas, ethGasPrice, ethGetBalance, ethGetBlockByHash, ethGetBlockByNumber, ethGetBlockTransactionCountByHash, ethGetBlockTransactionCountByNumber, ethGetCode, ethGetCompilers, ethGetFilterChanges, ethGetFilterLogs, ethGetLogs, ethGetStorageAt, ethGetTransactionByBlockHashAndIndex, ethGetTransactionByBlockNumberAndIndex, ethGetTransactionByHash, ethGetTransactionCount, ethGetTransactionReceipt, ethGetUncleByBlockHashAndIndex, ethGetUncleByBlockNumberAndIndex, ethGetUncleCountByBlockHash, ethGetUncleCountByBlockNumber, ethGetWork, ethHashrate, ethMining, ethNewBlockFilter, ethNewFilter, ethNewPendingTransactionFilter, ethProtocolVersion, ethSendRawTransaction, ethSendTransaction, ethSign, ethSubmitHashrate, ethSubmitWork, ethSyncing, ethUninstallFilter, netListening, netPeerCount, netVersion, shhAddToGroup, shhGetFilterChanges, shhGetMessages, shhHasIdentity, shhNewFilter, shhNewGroup, shhNewIdentity, shhPost, shhUninstallFilter, shhVersion, web3ClientVersion, web3Sha3
blockFlowable, ethBlockHashFlowable, ethLogFlowable, ethPendingTransactionHashFlowable, logsNotifications, newHeadsNotifications, pendingTransactionFlowable, replayPastAndFutureBlocksFlowable, replayPastAndFutureTransactionsFlowable, replayPastBlocksFlowable, replayPastBlocksFlowable, replayPastBlocksFlowable, replayPastBlocksFlowable, replayPastTransactionsFlowable, replayPastTransactionsFlowable, transactionFlowable
public JsonRpc2_0Geth(org.web3j.protocol.Web3jService web3jService)
public org.web3j.protocol.core.Request<?,PersonalImportRawKey> personalImportRawKey(java.lang.String keydata, java.lang.String password)
personalImportRawKey
in interface Geth
public org.web3j.protocol.core.Request<?,org.web3j.protocol.admin.methods.response.BooleanResponse> personalLockAccount(java.lang.String accountId)
personalLockAccount
in interface Geth
public org.web3j.protocol.core.Request<?,org.web3j.protocol.admin.methods.response.PersonalSign> personalSign(java.lang.String message, java.lang.String accountId, java.lang.String password)
personalSign
in interface Geth
public org.web3j.protocol.core.Request<?,PersonalEcRecover> personalEcRecover(java.lang.String hexMessage, java.lang.String signedMessage)
personalEcRecover
in interface Geth
public org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.MinerStartResponse> minerStart(int threadCount)
minerStart
in interface Geth
public org.web3j.protocol.core.Request<?,org.web3j.protocol.admin.methods.response.BooleanResponse> minerStop()
public io.reactivex.Flowable<org.web3j.protocol.websocket.events.PendingTransactionNotification> newPendingTransactionsNotifications()
Geth
Flowable
instance that emits a notification when a new transaction is
added to the pending state and is signed with a key that is available in the node.newPendingTransactionsNotifications
in interface Geth
Flowable
instance that emits a notification when a new transaction is added
to the pending statepublic io.reactivex.Flowable<org.web3j.protocol.websocket.events.SyncingNotfication> syncingStatusNotifications()
Geth
Flowable
instance that emits a notification when a node starts or stops
syncing.syncingStatusNotifications
in interface Geth
Flowable
instance that emits changes to syncing status