367.3. Spring Boot Auto-Configuration
组件支持 33 选项,如下所列。
| Name | 描述 | 默认值 | 类型 |
|---|---|---|---|
| camel.component.web3j.configuration.address | 合同地址. | 字符串 | |
| camel.component.web3j.configuration.addresses | 合同地址或地址列表。 | list | |
| camel.component.web3j.configuration.block-hash | 此事务所在的块的哈希值。 | 字符串 | |
| camel.component.web3j.configuration.client-id | 标识客户端的随机十六进制(32 字节) ID。 | 字符串 | |
| camel.component.web3j.configuration.data | 已编译合同代码或调用方法签名和编码参数的哈希。 | 字符串 | |
| camel.component.web3j.configuration.database-name | 本地数据库名称。 | 字符串 | |
| camel.component.web3j.configuration.filter-id | 要使用的过滤器 ID。 | BigInteger | |
| camel.component.web3j.configuration.from-address | 事务发送的地址 | 字符串 | |
| camel.component.web3j.configuration.full-transaction-objects | 如果为 true,它将返回完整的事务对象,如果只返回事务的哈希值。 | false | 布尔值 |
| camel.component.web3j.configuration.gas-limit | 此块中允许的最大 gas。 | BigInteger | |
| camel.component.web3j.configuration.gas-price | 每个付费的天然的Gas 价格。 | BigInteger | |
| camel.component.web3j.configuration.hashrate | 哈希速率的十六进制字符串表示(32 字节)。 | 字符串 | |
| camel.component.web3j.configuration.header-pow-hash | 标头的 pow-hash (256 位)用于提交概念验证解决方案。 | 字符串 | |
| camel.component.web3j.configuration.index | 块中的事务/无限索引位置。 | BigInteger | |
| camel.component.web3j.configuration.key-name | 数据库中的密钥名称。 | 字符串 | |
| camel.component.web3j.configuration.mix-digest | 用于提交概念验证解决方案的组合摘要(256 位)。 | 字符串 | |
| camel.component.web3j.configuration.nonce | 尚未发现(64 位)用于提交概念验证解决方案。 | 字符串 | |
| camel.component.web3j.configuration.operation | 要使用的操作。 | transaction | 字符串 |
| camel.component.web3j.configuration.position | 使用块的事务索引位置。 | BigInteger | |
| camel.component.web3j.configuration.priority | whisper 消息的优先级。 | BigInteger | |
| camel.component.web3j.configuration.private-for | 一个事务 privateFor 节点,在 Quorum 网络中具有公钥 | list | |
| camel.component.web3j.configuration.quorum-a-p-i | 如果为 true,这将支持 Quorum API。 | false | 布尔值 |
| camel.component.web3j.configuration.sha3-hash-of-data-to-sign | 通过计算特定 Ethereum 特定签名的消息。 | 字符串 | |
| camel.component.web3j.configuration.signed-transaction-data | 新消息调用事务的签名事务数据或为签名事务创建合同。 | 字符串 | |
| camel.component.web3j.configuration.source-code | 要编译的源代码。 | 字符串 | |
| camel.component.web3j.configuration.to-address | 事务定向到的地址。 | 字符串 | |
| camel.component.web3j.configuration.topics | 主题取决于顺序。每个主题也可以是一个主题列表。指定用逗号分开的多个主题。 | list | |
| camel.component.web3j.configuration.transaction-hash | 有关事务哈希请求的事务的信息。 | 字符串 | |
| camel.component.web3j.configuration.ttl | whisper 消息的时间(以秒为单位)。 | BigInteger | |
| camel.component.web3j.configuration.value | 在事务中发送的值。 | BigInteger | |
| camel.component.web3j.configuration.web3j | 预配置的 Web3j 对象。 | Web3j | |
| camel.component.web3j.enabled | 启用 web3j 组件 | true | 布尔值 |
| camel.component.web3j.resolve-property-placeholders | 组件是否应在启动时解析属性占位符。只有 String 类型的属性可以使用属性占位符。 | true | 布尔值 |
您可以在 URI 中附加查询选项,格式为 ?options=value&option2=value&…