Skip to content

Commit 9e5160e

Browse files
authored
update eventSub fromBlock notice (#1791)
1 parent e176bbe commit 9e5160e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

2.x/docs/sdk/java_sdk/event_sub.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
- filerID:字符串类型,每次请求唯一,标记一次注册任务
3535
- groupID:字符串类型,群组ID
36-
- fromBlock:整形字符串,初始区块。“latest” 当前块高
36+
- fromBlock:整形字符串,初始区块。“latest” 当前块高(传入块高时,需大于0)
3737
- toBlock:整形字符串,最终区块。“latest” 处理至当前块高时,继续等待新区块
3838
- addresses:字符串或者字符串数组:字符串表示单个合约地址,数组为多个合约地址,数组可以为空
3939
- topics:字符串类型或者数组类型:字符串表示单个topic,数组为多个topic,数组可以为空

3.x/zh_CN/docs/sdk/go_sdk/event_sub.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func (c *Connection) SubscribeEventLogs(eventLogParams types.EventLogParams, han
3030
func (c *Connection) UnsubscribeEventLogs(taskID string)
3131
```
3232

33-
- FromBlock:起始区块
33+
- FromBlock:起始区块(需大于0)
3434
- ToBlock:-1表示最新块
3535
- Addresses:字符串数组,数组为多个合约地址,数组可以为空
3636
- Topics:数组类型,数组为多个topic,数组可以为空

0 commit comments

Comments
 (0)