Interface Web3jEndpointBuilderFactory.Web3jEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder,Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
- Enclosing interface:
- Web3jEndpointBuilderFactory
public static interface Web3jEndpointBuilderFactory.Web3jEndpointBuilder
extends Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder, Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
Builder for endpoint for the Web3j Ethereum Blockchain component.
-
Method Summary
Modifier and TypeMethodDescriptionContract address or a list of addresses.Contract address or a list of addresses.advanced()fromAddress(String fromAddress) The address the transaction is send from.The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions.fullTransactionObjects(boolean fullTransactionObjects) If true it returns the full transaction objects, if false only the hashes of the transactions.fullTransactionObjects(String fullTransactionObjects) If true it returns the full transaction objects, if false only the hashes of the transactions.The maximum gas allowed in this block.gasLimit(BigInteger gasLimit) The maximum gas allowed in this block.privateFor(String privateFor) A transaction privateFor nodes with public keys in a Quorum network.privateFor(List<String> privateFor) A transaction privateFor nodes with public keys in a Quorum network.quorumAPI(boolean quorumAPI) If true, this will support Quorum API.If true, this will support Quorum API.The address the transaction is directed to.The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions.Topics are order-dependent.The preconfigured Web3j object.web3j(org.web3j.protocol.Web3j web3j) The preconfigured Web3j object.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.endpoint.dsl.Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
address, atBlock, blockHash, clientId, data, databaseName, filterId, filterId, gasPrice, gasPrice, hashrate, headerPowHash, index, index, keyName, mixDigest, nonce, operation, position, position, priority, priority, sha3HashOfDataToSign, signedTransactionData, sourceCode, transactionHash, ttl, ttl, value, value
-
Method Details
-
advanced
- Specified by:
advancedin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
advancedin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
-
addresses
Contract address or a list of addresses. The option is a: <code>java.util.List<java.lang.String></code> type. Group: common- Specified by:
addressesin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
addressesin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
addresses- the value to set- Returns:
- the dsl builder
-
addresses
Contract address or a list of addresses. The option will be converted to a <code>java.util.List<java.lang.String></code> type. Group: common- Specified by:
addressesin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
addressesin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
addresses- the value to set- Returns:
- the dsl builder
-
fromAddress
The address the transaction is send from. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
fromAddressin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
fromAddressin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
fromAddress- the value to set- Returns:
- the dsl builder
-
fromBlock
The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions. The option is a: <code>java.lang.String</code> type. Default: latest Group: common- Specified by:
fromBlockin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
fromBlockin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
fromBlock- the value to set- Returns:
- the dsl builder
-
fullTransactionObjects
default Web3jEndpointBuilderFactory.Web3jEndpointBuilder fullTransactionObjects(boolean fullTransactionObjects) If true it returns the full transaction objects, if false only the hashes of the transactions. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
fullTransactionObjectsin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
fullTransactionObjectsin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
fullTransactionObjects- the value to set- Returns:
- the dsl builder
-
fullTransactionObjects
default Web3jEndpointBuilderFactory.Web3jEndpointBuilder fullTransactionObjects(String fullTransactionObjects) If true it returns the full transaction objects, if false only the hashes of the transactions. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
fullTransactionObjectsin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
fullTransactionObjectsin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
fullTransactionObjects- the value to set- Returns:
- the dsl builder
-
gasLimit
The maximum gas allowed in this block. The option is a: <code>java.math.BigInteger</code> type. Group: common- Specified by:
gasLimitin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
gasLimitin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
gasLimit- the value to set- Returns:
- the dsl builder
-
gasLimit
The maximum gas allowed in this block. The option will be converted to a <code>java.math.BigInteger</code> type. Group: common- Specified by:
gasLimitin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
gasLimitin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
gasLimit- the value to set- Returns:
- the dsl builder
-
privateFor
A transaction privateFor nodes with public keys in a Quorum network. The option is a: <code>java.util.List<java.lang.String></code> type. Group: common- Specified by:
privateForin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
privateForin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
privateFor- the value to set- Returns:
- the dsl builder
-
privateFor
A transaction privateFor nodes with public keys in a Quorum network. The option will be converted to a <code>java.util.List<java.lang.String></code> type. Group: common- Specified by:
privateForin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
privateForin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
privateFor- the value to set- Returns:
- the dsl builder
-
quorumAPI
If true, this will support Quorum API. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
quorumAPIin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
quorumAPIin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
quorumAPI- the value to set- Returns:
- the dsl builder
-
quorumAPI
If true, this will support Quorum API. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
quorumAPIin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
quorumAPIin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
quorumAPI- the value to set- Returns:
- the dsl builder
-
toAddress
The address the transaction is directed to. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
toAddressin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
toAddressin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
toAddress- the value to set- Returns:
- the dsl builder
-
toBlock
The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions. The option is a: <code>java.lang.String</code> type. Default: latest Group: common- Specified by:
toBlockin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
toBlockin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
toBlock- the value to set- Returns:
- the dsl builder
-
topics
Topics are order-dependent. Each topic can also be a list of topics. Specify multiple topics separated by comma. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
topicsin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
topicsin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
topics- the value to set- Returns:
- the dsl builder
-
web3j
The preconfigured Web3j object. The option is a: <code>org.web3j.protocol.Web3j</code> type. Group: common- Specified by:
web3jin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
web3jin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
web3j- the value to set- Returns:
- the dsl builder
-
web3j
The preconfigured Web3j object. The option will be converted to a <code>org.web3j.protocol.Web3j</code> type. Group: common- Specified by:
web3jin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
web3jin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
web3j- the value to set- Returns:
- the dsl builder
-