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 | 此块中允许的最大值。 | BigInteger | |
| camel.component.web3j.configuration.gas-price | 每个付费 gas 使用的 gas 价格。 | BigInteger | |
| camel.component.web3j.configuration.hashrate | 哈希率的十六进制字符串表示(32 字节)。 | 字符串 | |
| camel.component.web3j.configuration.header-pow-hash | 标头的 pow-hash (256 位)用于提交概念验证解决方案。 | 字符串 | |
| camel.component.web3j.configuration.index | 块中的 transaction/uncle 索引位置。 | 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 | 要使用的操作。 | Transactions | 字符串 |
| camel.component.web3j.configuration.position | 带有块的事务索引位置。 | BigInteger | |
| camel.component.web3j.configuration.priority | whisper 消息的优先级。 | BigInteger | |
| camel.component.web3j.configuration.private-for | 在 Quorum 网络中带有公钥的事务 privateFor 节点 | 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 | 垃圾邮件的时间(以秒为单位)。 | 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&…