Package org.web3j.protocol.besu
Interface Besu
-
- All Superinterfaces:
org.web3j.protocol.core.Batcher
,BesuRx
,org.web3j.protocol.eea.Eea
,org.web3j.protocol.core.Ethereum
,org.web3j.protocol.Web3j
,org.web3j.protocol.rx.Web3jRx
- All Known Implementing Classes:
JsonRpc2_0Besu
public interface Besu extends org.web3j.protocol.eea.Eea, BesuRx
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static Besu
build(org.web3j.protocol.Web3jService web3jService)
Construct a new Besu instance.static Besu
build(org.web3j.protocol.Web3jService web3jService, long pollingInterval, java.util.concurrent.ScheduledExecutorService scheduledExecutorService)
Construct a new Besu instance.org.web3j.protocol.core.Request<?,org.web3j.protocol.admin.methods.response.BooleanResponse>
cliqueDiscard(java.lang.String address)
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthAccounts>
cliqueGetSigners(org.web3j.protocol.core.DefaultBlockParameter defaultBlockParameter)
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthAccounts>
cliqueGetSignersAtHash(java.lang.String blockHash)
org.web3j.protocol.core.Request<?,BesuEthAccountsMapResponse>
cliqueProposals()
org.web3j.protocol.core.Request<?,org.web3j.protocol.admin.methods.response.BooleanResponse>
cliquePropose(java.lang.String address, java.lang.Boolean signerAddition)
org.web3j.protocol.core.Request<?,BesuFullDebugTraceResponse>
debugTraceTransaction(java.lang.String transactionHash, java.util.Map<java.lang.String,java.lang.Boolean> options)
org.web3j.protocol.core.Request<?,org.web3j.protocol.admin.methods.response.BooleanResponse>
ibftDiscardValidatorVote(java.lang.String address)
org.web3j.protocol.core.Request<?,BesuEthAccountsMapResponse>
ibftGetPendingVotes()
org.web3j.protocol.core.Request<?,BesuSignerMetrics>
ibftGetSignerMetrics()
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthAccounts>
ibftGetValidatorsByBlockHash(java.lang.String blockHash)
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthAccounts>
ibftGetValidatorsByBlockNumber(org.web3j.protocol.core.DefaultBlockParameter defaultBlockParameter)
org.web3j.protocol.core.Request<?,org.web3j.protocol.admin.methods.response.BooleanResponse>
ibftProposeValidatorVote(java.lang.String address, java.lang.Boolean validatorAddition)
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.MinerStartResponse>
minerStart()
org.web3j.protocol.core.Request<?,org.web3j.protocol.admin.methods.response.BooleanResponse>
minerStop()
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthCall>
privCall(java.lang.String privacyGroupId, org.web3j.protocol.core.methods.request.Transaction transaction, org.web3j.protocol.core.DefaultBlockParameter defaultBlockParameter)
org.web3j.protocol.core.Request<?,PrivCreatePrivacyGroup>
privCreatePrivacyGroup(java.util.List<org.web3j.utils.Base64String> addresses, java.lang.String name, java.lang.String description)
org.web3j.protocol.core.Request<?,org.web3j.protocol.admin.methods.response.BooleanResponse>
privDeletePrivacyGroup(org.web3j.utils.Base64String privacyGroupId)
org.web3j.protocol.core.Request<?,PrivateEnclaveKey>
privDistributeRawTransaction(java.lang.String signedTransactionData)
org.web3j.protocol.core.Request<?,PrivFindPrivacyGroup>
privFindPrivacyGroup(java.util.List<org.web3j.utils.Base64String> addresses)
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthGetCode>
privGetCode(java.lang.String privacyGroupId, java.lang.String address, org.web3j.protocol.core.DefaultBlockParameter defaultBlockParameter)
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthLog>
privGetFilterChanges(java.lang.String privacyGroupId, java.lang.String filterId)
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthLog>
privGetFilterLogs(java.lang.String privacyGroupId, java.lang.String filterId)
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthLog>
privGetLogs(java.lang.String privacyGroupId, org.web3j.protocol.core.methods.request.EthFilter ethFilter)
org.web3j.protocol.core.Request<?,PrivGetPrivacyPrecompileAddress>
privGetPrivacyPrecompileAddress()
org.web3j.protocol.core.Request<?,PrivGetPrivateTransaction>
privGetPrivateTransaction(java.lang.String transactionHash)
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthGetTransactionCount>
privGetTransactionCount(java.lang.String address, org.web3j.utils.Base64String privacyGroupId)
org.web3j.protocol.core.Request<?,PrivGetTransactionReceipt>
privGetTransactionReceipt(java.lang.String transactionHash)
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthFilter>
privNewFilter(java.lang.String privacyGroupId, org.web3j.protocol.core.methods.request.EthFilter ethFilter)
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthSendTransaction>
privOnChainAddToPrivacyGroup(org.web3j.utils.Base64String privacyGroupId, org.web3j.crypto.Credentials credentials, org.web3j.utils.Base64String enclaveKey, java.util.List<org.web3j.utils.Base64String> participants)
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthSendTransaction>
privOnChainCreatePrivacyGroup(org.web3j.utils.Base64String privacyGroupId, org.web3j.crypto.Credentials credentials, org.web3j.utils.Base64String enclaveKey, java.util.List<org.web3j.utils.Base64String> participants)
org.web3j.protocol.core.Request<?,PrivFindPrivacyGroup>
privOnChainFindPrivacyGroup(java.util.List<org.web3j.utils.Base64String> addresses)
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthSendTransaction>
privOnChainRemoveFromPrivacyGroup(org.web3j.utils.Base64String privacyGroupId, org.web3j.crypto.Credentials credentials, org.web3j.utils.Base64String enclaveKey, org.web3j.utils.Base64String participant)
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthSendTransaction>
privOnChainSetGroupLockState(org.web3j.utils.Base64String privacyGroupId, org.web3j.crypto.Credentials credentials, org.web3j.utils.Base64String enclaveKey, java.lang.Boolean lock)
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthUninstallFilter>
privUninstallFilter(java.lang.String privacyGroupId, java.lang.String filterId)
-
Methods inherited from interface org.web3j.protocol.besu.BesuRx
privLogFlowable
-
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 Besu build(org.web3j.protocol.Web3jService web3jService)
Construct a new Besu instance.- Parameters:
web3jService
- web3j service instance - i.e. HTTP- Returns:
- new Besu instance
-
build
static Besu build(org.web3j.protocol.Web3jService web3jService, long pollingInterval, java.util.concurrent.ScheduledExecutorService scheduledExecutorService)
Construct a new Besu instance.- Parameters:
web3jService
- web3j service instance - i.e. HTTPpollingInterval
- polling interval for responses from network nodesscheduledExecutorService
- executor service to use for scheduled tasks. You are responsible for terminating this thread pool- Returns:
- new Besu instance
-
minerStart
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.MinerStartResponse> minerStart()
-
minerStop
org.web3j.protocol.core.Request<?,org.web3j.protocol.admin.methods.response.BooleanResponse> minerStop()
-
cliqueDiscard
org.web3j.protocol.core.Request<?,org.web3j.protocol.admin.methods.response.BooleanResponse> cliqueDiscard(java.lang.String address)
-
cliqueGetSigners
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthAccounts> cliqueGetSigners(org.web3j.protocol.core.DefaultBlockParameter defaultBlockParameter)
-
cliqueGetSignersAtHash
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthAccounts> cliqueGetSignersAtHash(java.lang.String blockHash)
-
cliquePropose
org.web3j.protocol.core.Request<?,org.web3j.protocol.admin.methods.response.BooleanResponse> cliquePropose(java.lang.String address, java.lang.Boolean signerAddition)
-
cliqueProposals
org.web3j.protocol.core.Request<?,BesuEthAccountsMapResponse> cliqueProposals()
-
debugTraceTransaction
org.web3j.protocol.core.Request<?,BesuFullDebugTraceResponse> debugTraceTransaction(java.lang.String transactionHash, java.util.Map<java.lang.String,java.lang.Boolean> options)
-
ibftDiscardValidatorVote
org.web3j.protocol.core.Request<?,org.web3j.protocol.admin.methods.response.BooleanResponse> ibftDiscardValidatorVote(java.lang.String address)
-
ibftGetPendingVotes
org.web3j.protocol.core.Request<?,BesuEthAccountsMapResponse> ibftGetPendingVotes()
-
ibftGetSignerMetrics
org.web3j.protocol.core.Request<?,BesuSignerMetrics> ibftGetSignerMetrics()
-
ibftGetValidatorsByBlockNumber
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthAccounts> ibftGetValidatorsByBlockNumber(org.web3j.protocol.core.DefaultBlockParameter defaultBlockParameter)
-
ibftGetValidatorsByBlockHash
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthAccounts> ibftGetValidatorsByBlockHash(java.lang.String blockHash)
-
ibftProposeValidatorVote
org.web3j.protocol.core.Request<?,org.web3j.protocol.admin.methods.response.BooleanResponse> ibftProposeValidatorVote(java.lang.String address, java.lang.Boolean validatorAddition)
-
privGetTransactionCount
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthGetTransactionCount> privGetTransactionCount(java.lang.String address, org.web3j.utils.Base64String privacyGroupId)
-
privGetPrivateTransaction
org.web3j.protocol.core.Request<?,PrivGetPrivateTransaction> privGetPrivateTransaction(java.lang.String transactionHash)
-
privDistributeRawTransaction
org.web3j.protocol.core.Request<?,PrivateEnclaveKey> privDistributeRawTransaction(java.lang.String signedTransactionData)
-
privGetPrivacyPrecompileAddress
org.web3j.protocol.core.Request<?,PrivGetPrivacyPrecompileAddress> privGetPrivacyPrecompileAddress()
-
privCreatePrivacyGroup
org.web3j.protocol.core.Request<?,PrivCreatePrivacyGroup> privCreatePrivacyGroup(java.util.List<org.web3j.utils.Base64String> addresses, java.lang.String name, java.lang.String description)
-
privOnChainSetGroupLockState
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthSendTransaction> privOnChainSetGroupLockState(org.web3j.utils.Base64String privacyGroupId, org.web3j.crypto.Credentials credentials, org.web3j.utils.Base64String enclaveKey, java.lang.Boolean lock) throws java.io.IOException
- Throws:
java.io.IOException
-
privOnChainAddToPrivacyGroup
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthSendTransaction> privOnChainAddToPrivacyGroup(org.web3j.utils.Base64String privacyGroupId, org.web3j.crypto.Credentials credentials, org.web3j.utils.Base64String enclaveKey, java.util.List<org.web3j.utils.Base64String> participants) throws java.io.IOException, org.web3j.protocol.exceptions.TransactionException
- Throws:
java.io.IOException
org.web3j.protocol.exceptions.TransactionException
-
privOnChainCreatePrivacyGroup
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthSendTransaction> privOnChainCreatePrivacyGroup(org.web3j.utils.Base64String privacyGroupId, org.web3j.crypto.Credentials credentials, org.web3j.utils.Base64String enclaveKey, java.util.List<org.web3j.utils.Base64String> participants) throws java.io.IOException
- Throws:
java.io.IOException
-
privOnChainRemoveFromPrivacyGroup
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthSendTransaction> privOnChainRemoveFromPrivacyGroup(org.web3j.utils.Base64String privacyGroupId, org.web3j.crypto.Credentials credentials, org.web3j.utils.Base64String enclaveKey, org.web3j.utils.Base64String participant) throws java.io.IOException
- Throws:
java.io.IOException
-
privOnChainFindPrivacyGroup
org.web3j.protocol.core.Request<?,PrivFindPrivacyGroup> privOnChainFindPrivacyGroup(java.util.List<org.web3j.utils.Base64String> addresses)
-
privFindPrivacyGroup
org.web3j.protocol.core.Request<?,PrivFindPrivacyGroup> privFindPrivacyGroup(java.util.List<org.web3j.utils.Base64String> addresses)
-
privDeletePrivacyGroup
org.web3j.protocol.core.Request<?,org.web3j.protocol.admin.methods.response.BooleanResponse> privDeletePrivacyGroup(org.web3j.utils.Base64String privacyGroupId)
-
privGetTransactionReceipt
org.web3j.protocol.core.Request<?,PrivGetTransactionReceipt> privGetTransactionReceipt(java.lang.String transactionHash)
-
privGetCode
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthGetCode> privGetCode(java.lang.String privacyGroupId, java.lang.String address, org.web3j.protocol.core.DefaultBlockParameter defaultBlockParameter)
-
privCall
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthCall> privCall(java.lang.String privacyGroupId, org.web3j.protocol.core.methods.request.Transaction transaction, org.web3j.protocol.core.DefaultBlockParameter defaultBlockParameter)
-
privGetLogs
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthLog> privGetLogs(java.lang.String privacyGroupId, org.web3j.protocol.core.methods.request.EthFilter ethFilter)
-
privNewFilter
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthFilter> privNewFilter(java.lang.String privacyGroupId, org.web3j.protocol.core.methods.request.EthFilter ethFilter)
-
privUninstallFilter
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthUninstallFilter> privUninstallFilter(java.lang.String privacyGroupId, java.lang.String filterId)
-
privGetFilterChanges
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthLog> privGetFilterChanges(java.lang.String privacyGroupId, java.lang.String filterId)
-
privGetFilterLogs
org.web3j.protocol.core.Request<?,org.web3j.protocol.core.methods.response.EthLog> privGetFilterLogs(java.lang.String privacyGroupId, java.lang.String filterId)
-
-