eth_getFilterLogs
网络: Base · 主网 · Chain ID 8453(0x2105)
计为 1 个 Request。 计费规则见 Request Counting。
描述
返回过滤器匹配的全部日志。
参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
filterId | hex | 是 | 过滤器 ID |
请求
{
"jsonrpc": "2.0",
"method": "eth_getFilterLogs",
"params": ["0x1"],
"id": 1
}代码示例
curl -X POST https://base-rpc.blockreq.com/v1/rpc/public \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_getFilterLogs","params":["0x1"],"id":1}'