Class JsonRpcEthereumAdmin

  • All Implemented Interfaces:
    org.web3j.protocol.admin.Admin, org.web3j.protocol.core.Batcher, org.web3j.protocol.core.Ethereum, org.web3j.protocol.rx.Web3jRx, org.web3j.protocol.Web3j

    public class JsonRpcEthereumAdmin
    extends org.web3j.protocol.admin.JsonRpc2_0Admin
    • Field Summary

      • Fields inherited from class org.web3j.protocol.core.JsonRpc2_0Web3j

        DEFAULT_BLOCK_TIME, web3jService
    • Constructor Summary

      Constructors 
      Constructor Description
      JsonRpcEthereumAdmin​(org.web3j.protocol.Web3jService web3jService)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.web3j.protocol.core.Request<?,​EthereumPersonalSign> personalSign​(String data, String address, String password)
      Invoke the personal sign method
      • Methods inherited from class org.web3j.protocol.admin.JsonRpc2_0Admin

        personalListAccounts, personalNewAccount, personalSendTransaction, personalUnlockAccount, personalUnlockAccount
      • Methods inherited from class org.web3j.protocol.core.JsonRpc2_0Web3j

        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
      • Methods inherited from interface org.web3j.protocol.core.Batcher

        newBatch
      • Methods inherited from interface org.web3j.protocol.core.Ethereum

        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
      • Methods inherited from interface org.web3j.protocol.Web3j

        shutdown
      • Methods inherited from interface org.web3j.protocol.rx.Web3jRx

        blockFlowable, ethBlockHashFlowable, ethLogFlowable, ethPendingTransactionHashFlowable, logsNotifications, newHeadsNotifications, pendingTransactionFlowable, replayPastAndFutureBlocksFlowable, replayPastAndFutureTransactionsFlowable, replayPastBlocksFlowable, replayPastBlocksFlowable, replayPastBlocksFlowable, replayPastBlocksFlowable, replayPastTransactionsFlowable, replayPastTransactionsFlowable, transactionFlowable
    • Constructor Detail

      • JsonRpcEthereumAdmin

        public JsonRpcEthereumAdmin​(org.web3j.protocol.Web3jService web3jService)
    • Method Detail

      • personalSign

        public org.web3j.protocol.core.Request<?,​EthereumPersonalSign> personalSign​(String data,
                                                                                          String address,
                                                                                          String password)
        Invoke the personal sign method
        Parameters:
        data - data to sign
        address - ethereum address
        password - password
        Returns:
        signed hash