Package org.web3j.protocol.core
Interface Ethereum
- All Known Implementing Classes:
JsonRpc2_0Admin
,JsonRpc2_0Web3j
public interface Ethereum
Core Ethereum JSON-RPC API.
-
Method Summary
Modifier and TypeMethodDescriptionadminAddPeer
(String url) adminRemovePeer
(String url) dbGetString
(String databaseName, String keyName) dbPutString
(String databaseName, String keyName, String stringToStore) ethCall
(Transaction transaction, DefaultBlockParameter defaultBlockParameter) ethCompileLLL
(String sourceCode) ethCompileSerpent
(String sourceCode) ethCompileSolidity
(String sourceCode) ethEstimateGas
(Transaction transaction) ethFeeHistory
(int blockCount, DefaultBlockParameter newestBlock, List<Double> rewardPercentiles) ethGetBalance
(String address, DefaultBlockParameter defaultBlockParameter) ethGetBlockByHash
(String blockHash, boolean returnFullTransactionObjects) ethGetBlockByNumber
(DefaultBlockParameter defaultBlockParameter, boolean returnFullTransactionObjects) ethGetBlockReceipts
(DefaultBlockParameter defaultBlockParameter) ethGetBlockTransactionCountByHash
(String blockHash) ethGetBlockTransactionCountByNumber
(DefaultBlockParameter defaultBlockParameter) ethGetCode
(String address, DefaultBlockParameter defaultBlockParameter) ethGetFilterChanges
(BigInteger filterId) ethGetFilterLogs
(BigInteger filterId) ethGetLogs
(EthFilter ethFilter) ethGetStorageAt
(String address, BigInteger position, DefaultBlockParameter defaultBlockParameter) ethGetTransactionByBlockHashAndIndex
(String blockHash, BigInteger transactionIndex) ethGetTransactionByBlockNumberAndIndex
(DefaultBlockParameter defaultBlockParameter, BigInteger transactionIndex) ethGetTransactionByHash
(String transactionHash) ethGetTransactionCount
(String address, DefaultBlockParameter defaultBlockParameter) ethGetTransactionReceipt
(String transactionHash) ethGetUncleByBlockHashAndIndex
(String blockHash, BigInteger transactionIndex) ethGetUncleByBlockNumberAndIndex
(DefaultBlockParameter defaultBlockParameter, BigInteger transactionIndex) ethGetUncleCountByBlockHash
(String blockHash) ethGetUncleCountByBlockNumber
(DefaultBlockParameter defaultBlockParameter) ethNewFilter
(EthFilter ethFilter) ethSendRawTransaction
(String signedTransactionData) ethSendTransaction
(Transaction transaction) ethSubmitHashrate
(String hashrate, String clientId) ethSubmitWork
(String nonce, String headerPowHash, String mixDigest) ethUninstallFilter
(BigInteger filterId) shhAddToGroup
(String identityAddress) shhGetFilterChanges
(BigInteger filterId) shhGetMessages
(BigInteger filterId) shhHasIdentity
(String identityAddress) shhNewFilter
(ShhFilter shhFilter) shhUninstallFilter
(BigInteger filterId)
-
Method Details
-
web3ClientVersion
Request<?,Web3ClientVersion> web3ClientVersion() -
web3Sha3
-
netVersion
Request<?,NetVersion> netVersion() -
netListening
Request<?,NetListening> netListening() -
netPeerCount
Request<?,NetPeerCount> netPeerCount() -
adminNodeInfo
Request<?,AdminNodeInfo> adminNodeInfo() -
adminPeers
Request<?,AdminPeers> adminPeers() -
adminAddPeer
-
adminRemovePeer
-
adminDataDir
Request<?,AdminDataDir> adminDataDir() -
ethProtocolVersion
Request<?,EthProtocolVersion> ethProtocolVersion() -
ethChainId
Request<?,EthChainId> ethChainId() -
ethCoinbase
Request<?,EthCoinbase> ethCoinbase() -
ethSyncing
Request<?,EthSyncing> ethSyncing() -
ethMining
-
ethHashrate
Request<?,EthHashrate> ethHashrate() -
ethGasPrice
Request<?,EthGasPrice> ethGasPrice() -
ethMaxPriorityFeePerGas
Request<?,EthMaxPriorityFeePerGas> ethMaxPriorityFeePerGas() -
ethFeeHistory
Request<?,EthFeeHistory> ethFeeHistory(int blockCount, DefaultBlockParameter newestBlock, List<Double> rewardPercentiles) -
ethAccounts
Request<?,EthAccounts> ethAccounts() -
ethBlockNumber
Request<?,EthBlockNumber> ethBlockNumber() -
ethGetBalance
-
ethGetStorageAt
Request<?,EthGetStorageAt> ethGetStorageAt(String address, BigInteger position, DefaultBlockParameter defaultBlockParameter) -
ethGetTransactionCount
Request<?,EthGetTransactionCount> ethGetTransactionCount(String address, DefaultBlockParameter defaultBlockParameter) -
ethGetBlockTransactionCountByHash
-
ethGetBlockTransactionCountByNumber
Request<?,EthGetBlockTransactionCountByNumber> ethGetBlockTransactionCountByNumber(DefaultBlockParameter defaultBlockParameter) -
ethGetUncleCountByBlockHash
-
ethGetUncleCountByBlockNumber
Request<?,EthGetUncleCountByBlockNumber> ethGetUncleCountByBlockNumber(DefaultBlockParameter defaultBlockParameter) -
ethGetCode
-
ethSign
-
ethSendTransaction
-
ethSendRawTransaction
-
ethCall
-
ethEstimateGas
-
ethGetBlockByHash
-
ethGetBlockByNumber
Request<?,EthBlock> ethGetBlockByNumber(DefaultBlockParameter defaultBlockParameter, boolean returnFullTransactionObjects) -
ethGetTransactionByHash
-
ethGetTransactionByBlockHashAndIndex
Request<?,EthTransaction> ethGetTransactionByBlockHashAndIndex(String blockHash, BigInteger transactionIndex) -
ethGetTransactionByBlockNumberAndIndex
Request<?,EthTransaction> ethGetTransactionByBlockNumberAndIndex(DefaultBlockParameter defaultBlockParameter, BigInteger transactionIndex) -
ethGetTransactionReceipt
-
ethGetBlockReceipts
-
ethGetUncleByBlockHashAndIndex
-
ethGetUncleByBlockNumberAndIndex
Request<?,EthBlock> ethGetUncleByBlockNumberAndIndex(DefaultBlockParameter defaultBlockParameter, BigInteger transactionIndex) -
ethGetCompilers
Request<?,EthGetCompilers> ethGetCompilers() -
ethCompileLLL
-
ethCompileSolidity
-
ethCompileSerpent
-
ethNewFilter
-
ethNewBlockFilter
-
ethNewPendingTransactionFilter
-
ethUninstallFilter
-
ethGetFilterChanges
-
ethGetFilterLogs
-
ethGetLogs
-
ethGetWork
Request<?,EthGetWork> ethGetWork() -
ethSubmitWork
-
ethSubmitHashrate
-
dbPutString
-
dbGetString
-
dbPutHex
-
dbGetHex
-
shhPost
-
shhVersion
Request<?,ShhVersion> shhVersion() -
shhNewIdentity
Request<?,ShhNewIdentity> shhNewIdentity() -
shhHasIdentity
-
shhNewGroup
Request<?,ShhNewGroup> shhNewGroup() -
shhAddToGroup
-
shhNewFilter
-
shhUninstallFilter
-
shhGetFilterChanges
-
shhGetMessages
-
txPoolStatus
Request<?,TxPoolStatus> txPoolStatus()
-