Home

Create a pending transaction filter

POST
https://vinu.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Creates a filter that collects the hash of every transaction that enters the pool after the filter was created. Poll it with eth_getFilterChanges and remove it with eth_uninstallFilter.

The returned id is a 16-byte hex string with leading zeros stripped, so it is not always 34 characters long - treat it as an opaque string and do not left-pad or normalise it.

Requests to this endpoint are balanced across a pool of nodes, and a filter is only visible to the node that created it. For anything that must be reliable, poll with an explicit block range instead of a filter.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

JSON-RPC method name

paramsArray<any>required

No parameters required for this method

idintegerrequired

Request identifier

Response

200OK

Filter ID created successfully

405Method Not Allowed

Method not served by this endpoint. The body is the plain-text string Method Not Allowed, not JSON.

422Unprocessable Entity

Missing API key - the api-key header was absent. The body is the plain-text string Missing API_key, not JSON.