366.3. Spring Boot Auto-Configuration
组件支持 33 选项,如下所示。
名称 | 描述 | 默认 | 类型 |
---|---|---|---|
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 事务哈希,则返回完整的事务对象。 | 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 | 在 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 | 通过计算特定签名来签署的消息。 | 字符串 | |
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&…