Package org.web3j.protocol.admin
Interface Admin
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static Admin
build(Web3jService web3jService)
Construct a new Web3j instance.static Admin
build(Web3jService web3jService, long pollingInterval, java.util.concurrent.ScheduledExecutorService scheduledExecutorService)
Construct a new Web3j instance.Request<?,PersonalListAccounts>
personalListAccounts()
Request<?,NewAccountIdentifier>
personalNewAccount(java.lang.String password)
Request<?,EthSendTransaction>
personalSendTransaction(Transaction transaction, java.lang.String password)
Request<?,PersonalUnlockAccount>
personalUnlockAccount(java.lang.String address, java.lang.String passphrase)
Request<?,PersonalUnlockAccount>
personalUnlockAccount(java.lang.String address, java.lang.String passphrase, java.math.BigInteger duration)
Request<?,TxPoolContent>
txPoolContent()
-
Methods inherited from interface org.web3j.protocol.core.Ethereum
adminAddPeer, adminDataDir, adminNodeInfo, adminPeers, adminRemovePeer, 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, txPoolStatus, web3ClientVersion, web3Sha3
-
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
-
-
-
-
Method Detail
-
build
static Admin build(Web3jService web3jService)
Description copied from interface:Web3j
Construct a new Web3j instance.- Parameters:
web3jService
-- Returns:
-
build
static Admin build(Web3jService web3jService, long pollingInterval, java.util.concurrent.ScheduledExecutorService scheduledExecutorService)
Description copied from interface:Web3j
Construct a new Web3j instance.- Parameters:
web3jService
-pollingInterval
-scheduledExecutorService
-- Returns:
-
personalListAccounts
Request<?,PersonalListAccounts> personalListAccounts()
- Returns:
-
personalNewAccount
Request<?,NewAccountIdentifier> personalNewAccount(java.lang.String password)
- Parameters:
password
-- Returns:
-
personalUnlockAccount
Request<?,PersonalUnlockAccount> personalUnlockAccount(java.lang.String address, java.lang.String passphrase, java.math.BigInteger duration)
- Parameters:
address
-passphrase
-duration
-- Returns:
-
personalUnlockAccount
Request<?,PersonalUnlockAccount> personalUnlockAccount(java.lang.String address, java.lang.String passphrase)
- Parameters:
address
-passphrase
-- Returns:
-
personalSendTransaction
Request<?,EthSendTransaction> personalSendTransaction(Transaction transaction, java.lang.String password)
- Parameters:
transaction
-password
-- Returns:
-
txPoolContent
Request<?,TxPoolContent> txPoolContent()
- Returns:
-
-