Skip to navigation

eth_newFilter

Creates a filter object based on filter options to notify when the state changes (logs). To check if the state has changed, call eth_getFilterChanges.

⚡ Compute Units: 20 CU

Request

This endpoint expects an object.
filterobjectRequired
Filter options object

Response

Opaque filter ID returned by the server. Pass this back to eth_getFilterChanges, eth_getFilterLogs, or eth_uninstallFilter. Not a numeric quantity — treat as an opaque hex string.