# Eth\_newBlockFilter

## Create a new block filter

> Sends a JSON-RPC request to create a new filter that tracks new blocks. \
> Returns a filter ID which can be used to query for new blocks using \`eth\_getFilterChanges\`.<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_newBlockFilter"],"summary":"Create a new block filter","operationId":"ethNewBlockFilter","description":"Sends a JSON-RPC request to create a new filter that tracks new blocks. \nReturns a filter ID which can be used to query for new blocks using `eth_getFilterChanges`.\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["jsonrpc","method","params","id"],"properties":{"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"type":"array","description":"This method does not require any parameters","items":{}},"id":{"type":"integer"}}}}}},"responses":{"200":{"description":"Filter ID created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string"},"id":{"type":"integer"},"result":{"type":"string","description":"Filter identifier as a hex string"}}}}}}}}}}}
```
