eth_newPendingTransactionFilter
POST
Creates a filter to receive notifications when new pending transactions appear, and returns a filter ID. The filter ID is used with eth_getFilterChanges to poll for filter results.
Responses
codestringrequired
Code identifying the cause of the failed request.messagestringrequired
Detailed message including the name and value of the invalid parameter.{"code": "ERROR_CODE","message": "Unauthorized"}
cURL
curl -X POST 'https://polygon-mainnet.nodit.io' \-H 'Content-Type: application/json' \-H 'X-API-KEY: nodit-demo' \-d '{"jsonrpc": "2.0","id": 1,"method": "eth_newPendingTransactionFilter","params": []}'