eth_getLogs,通过过滤器对象,返回匹配的所有日志数组。
参数
- Object - 过滤器对象,参照 eth_newFilter参数.
params: [{
"topics": ["0x000000000000000000000000a94f5374fce5edbc8e2a8697c15331677e6ebf0b"]
}]
返回
// Request
curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getLogs","params":[{"topics":["0x000000000000000000000000a94f5374fce5edbc8e2a8697c15331677e6ebf0b"]}],"id":74}'
参考 eth_getFilterChanges 返回