eth_getFilterLogs
网络: Arc · 主网 · Chain ID 5042(0x13b2)
数据: 全节点。Arc 不提供旧区块状态,请查询近期区块。
计为 1 个 Request。 计费规则见 Request Counting。
描述
返回过滤器匹配的全部日志。
参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
filterId | hex | 是 | 过滤器 ID |
请求
{
"jsonrpc": "2.0",
"method": "eth_getFilterLogs",
"params": ["0x1"],
"id": 1
}代码示例
curl -X POST https://arc-rpc.blockreq.com/v1/rpc/public \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_getFilterLogs","params":["0x1"],"id":1}'