# Eth\_getFilterLogs

## Get Filter Logs

> Returns all logs matching a filter with the specified filter ID.\
> The filter must have been previously created with eth\_newFilter.<br>

```json
{"openapi":"3.0.0","info":{"title":"Ethereum JSON-RPC","version":"1.0.0"},"servers":[{"url":"https://zksync.nownodes.io"}],"security":[{"api-keyAuth":[]}],"components":{"securitySchemes":{"api-keyAuth":{"type":"apiKey","in":"header","name":"api-key"}}},"paths":{"/":{"post":{"tags":["eth_getFilterLogs"],"summary":"Get Filter Logs","operationId":"ethGetFilterLogs","description":"Returns all logs matching a filter with the specified filter ID.\nThe filter must have been previously created with eth_newFilter.\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["jsonrpc","method","params","id"],"properties":{"jsonrpc":{"type":"string","description":"JSON-RPC version."},"method":{"type":"string","description":"JSON-RPC method name."},"params":{"type":"array","description":"Parameters array with one element:\n1. The filter ID (hex string).\n","minItems":1,"maxItems":1,"items":{"type":"string"}},"id":{"type":"integer","description":"Request identifier."}}}}}},"responses":{"200":{"description":"Array of log objects matching the filter","content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","description":"JSON-RPC version."},"id":{"type":"integer","description":"Request ID."},"result":{"type":"array","description":"Array of log objects matching the filter.","items":{"type":"object","properties":{"address":{"type":"string","description":"Contract address emitting the log."},"topics":{"type":"array","description":"Array of topics provided by the contract.","items":{"type":"string"}},"data":{"type":"string","description":"Data associated with the log."},"blockNumber":{"type":"string","description":"Block number where this log was included, in hex."},"transactionHash":{"type":"string","description":"Hash of the transaction this log was created from."},"transactionIndex":{"type":"string","description":"Transaction index within the block, in hex."},"blockHash":{"type":"string","description":"Hash of the block where this log was included."},"logIndex":{"type":"string","description":"Index of the log within the block, in hex."},"removed":{"type":"boolean","description":"Indicates if the log was removed due to a chain reorganization."}}}}}}}}}}}}}}
```
