@@ -132,24 +132,6 @@ kafka-console-consumer.sh --zookeeper localhost:2181 --topic contractevent
132
132
java -jar FullNode.jar -p privatekey -c config.conf --es
133
133
```
134
134
135
- #### Set event plugin config via http
136
- ```
137
- url: http://localhost:8090/wallet/setEventPluginConfig
138
- parameters: TriggerInfo list, which are serialized in json format
139
-
140
- message TriggerInfo{
141
- string triggerName = 1;
142
- bool enable = 2;
143
- string topic = 3;
144
- }
145
-
146
- ```
147
-
148
- ### Set event plugin config via grpc
149
- ```
150
- Wallet-cli:setEventPluginConfig
151
- command: setEventPluginConfig block|true transaction|false
152
- ```
153
135
154
136
### Event filter
155
137
which is defined in config.conf, path: event.subscribe
@@ -166,26 +148,6 @@ filter = {
166
148
]
167
149
}
168
150
```
169
- #### Set event plugin filter via http
170
- ```
171
- url: http://localhost:8090/wallet/seteventfilter
172
- parameters: EventFilter object, which is seralized in json format
173
-
174
- message EventFilter {
175
- string fromBlock = 1;
176
- string toBlock = 2;
177
- repeated string contractAddress = 3;
178
- repeated string contractTopic = 4;
179
- }
180
-
181
- ```
182
-
183
- #### Set eventFilter via grpc
184
- ```
185
- Wallet-cli: seteventfilter
186
- command: seteventfilter 100 1000 address1|address2 topic1|topic2
187
- if parameter is null, input *
188
- for example: seteventfilter * * * *, which means any contract log or event will be subscribed.
189
151
```
190
152
191
153
### Tron event subscribe model
0 commit comments