# Eth\_getFilterChanges

## Get Filter Changes

> Returns an array of logs that occurred since the last poll for the specified filter ID.\
> The filter must have been previously created with eth\_newFilter or eth\_newBlockFilter or eth\_newPendingTransactionFilter.<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_getFilterChanges"],"summary":"Get Filter Changes","operationId":"ethGetFilterChanges","description":"Returns an array of logs that occurred since the last poll for the specified filter ID.\nThe filter must have been previously created with eth_newFilter or eth_newBlockFilter or eth_newPendingTransactionFilter.\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 a single 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 or transaction hashes depending on filter type","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 logs or transaction hashes that occurred since last poll.\nFor log filters, each element is a log object.\nFor block or pending transaction filters, each element is a transaction hash string.\n","items":{"oneOf":[{"type":"object","description":"Log 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."}}},{"type":"string","description":"Transaction hash (for block or pending transaction filters)"}]}}}}}}}}}}}}
```
