eth_getFilterChanges

The eth_getFilterChanges method is a polling method for filters which returns an array of logs/blocks/transactions that occurred since the last poll. Used in conjunction with eth_newBlockFilter, eth_newPendingTransactionFilter, or eth_newFilter to retrieve new data matching the filter criteria. This method is essential for event-driven applications that need to react to blockchain changes efficiently.


Parameters

parameter
type
description
filterId
string (required)
The filter ID returned from eth_newFilter, eth_newBlockFilter, or eth_newPendingTransactionFilter
Return Object

Returns an array of block hashes, transaction hashes, or log objects depending on the filter type. The response contains only changes since the last poll.

Request Example
Request
Response Example
Response

Share on
Share on FacebookShare on XShare on LinkedIn
Did you find this page useful?