Skip to content

Commit

Permalink
add OR for topics
Browse files Browse the repository at this point in the history
  • Loading branch information
frozeman committed Oct 28, 2015
1 parent 92e236c commit c636657
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JSON-RPC.md
Original file line number Diff line number Diff line change
Expand Up @@ -1525,14 +1525,14 @@ To check if the state has changed, call [eth_getFilterChanges](#eth_getfiltercha
- `fromBlock`: `QUANTITY|TAG` - (optional, default: `"latest"`) Integer block number, or `"latest"` for the last mined block or `"pending"`, `"earliest"` for not yet mined transactions.
- `toBlock`: `QUANTITY|TAG` - (optional, default: `"latest"`) Integer block number, or `"latest"` for the last mined block or `"pending"`, `"earliest"` for not yet mined transactions.
- `address`: `DATA|Array`, 20 Bytes - (optional) Contract address or a list of addresses from which logs should originate.
- `topics`: `Array of DATA`, - (optional) Array of 32 Bytes `DATA` topics.
- `topics`: `Array of DATA`, - (optional) Array of 32 Bytes `DATA` topics. Each topic can also be an array of DATA with "or" options.
```js
params: [{
"fromBlock": "0x1",
"toBlock": "0x2",
"address": "0x8888f1f195afa192cfee860698584c030f4c9db1",
"topics": ["0x000000000000000000000000a94f5374fce5edbc8e2a8697c15331677e6ebf0b"]
"topics": ["0x000000000000000000000000a94f5374fce5edbc8e2a8697c15331677e6ebf0b", null, [0x000000000000000000000000a94f5374fce5edbc8e2a8697c15331677e6ebf0b, 0x000000000000000000000000aff3454fce5edbc8cca8697c15331677e6ebccc]]
}]
```
Expand Down

0 comments on commit c636657

Please sign in to comment.