# Eth\_newPendingTransactionFilter

## Create a filter for pending transactions

> Sends a JSON-RPC request to create a filter that tracks pending transactions in the Ethereum network. \
> Returns a filter ID which can be used to query pending transactions 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_newPendingTransactionFilter"],"summary":"Create a filter for pending transactions","operationId":"ethNewPendingTransactionFilter","description":"Sends a JSON-RPC request to create a filter that tracks pending transactions in the Ethereum network. \nReturns a filter ID which can be used to query pending transactions using `eth_getFilterChanges`.\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":"No parameters required for this method","items":{}},"id":{"type":"integer","description":"Request identifier"}}}}}},"responses":{"200":{"description":"Filter ID created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","description":"JSON-RPC version"},"id":{"type":"integer","description":"Request ID (matches the one from the request)"},"result":{"type":"string","description":"Filter identifier (hex string)"}}}}}}}}}}}
```
