public interface Web3j extends Ethereum, Web3jRx
Modifier and Type | Method and Description |
---|---|
static Web3j |
build(Web3jService web3jService)
Construct a new Web3j instance.
|
static Web3j |
build(Web3jService web3jService,
long pollingInterval,
java.util.concurrent.ScheduledExecutorService scheduledExecutorService)
Construct a new Web3j instance.
|
void |
shutdown()
Shutdowns a Web3j instance and closes opened resources.
|
dbGetHex, dbGetString, dbPutHex, dbPutString, ethAccounts, ethBlockNumber, ethCall, 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
blockObservable, catchUpToLatestAndSubscribeToNewBlocksObservable, catchUpToLatestAndSubscribeToNewTransactionsObservable, catchUpToLatestBlockObservable, catchUpToLatestBlockObservable, catchUpToLatestTransactionObservable, ethBlockHashObservable, ethLogObservable, ethPendingTransactionHashObservable, logsNotifications, newHeadsNotifications, pendingTransactionObservable, replayBlocksObservable, replayBlocksObservable, replayTransactionsObservable, transactionObservable
static Web3j build(Web3jService web3jService)
web3jService
- web3j service instance - i.e. HTTP or IPCstatic Web3j build(Web3jService web3jService, long pollingInterval, java.util.concurrent.ScheduledExecutorService scheduledExecutorService)
web3jService
- web3j service instance - i.e. HTTP or IPCpollingInterval
- polling interval for responses from network nodesscheduledExecutorService
- executor service to use for scheduled tasks.
You are responsible for terminating this thread
poolvoid shutdown()