Ronin API method that returns an array of log objects for all logs that have occurred since the last poll on the Ronin node. This method is used to retrieve event logs for a specific filter, which can be particularly useful for dApps that need to react to specific contract events.
Get you own node endpoint today
Start for free and get your app to production levels immediately. No credit card required.
You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
filter_id
β a single filter identifier as a hexadecimal string. This filter ID is returned byeth_newFilter
oreth_newBlockFilter
and is used to poll for changes to the filter.
Disclaimer
Note that the default interactive example in this page will not work as the filter will be expired.
To test
eth_getFilterChanges
in this page, first create a new filter using one of the following:Then use the fresh filter ID as the parameter for
eth_getFilterChanges
.
Response
result
β an array of log objects. Each log object contains details about the event, including whether the log was removed (due to a chain reorganization), log index, transaction index, transaction hash, block hash, block number, address that generated the log, data associated with the log, and topics (event signatures and indexed event parameters).
Use case
The eth_getFilterChanges
method is essential for decentralized applications that need to monitor specific events on the blockchain. For example, a dApp might use this method to listen for token transfer events or contract interactions that trigger specific functionalities within the application.
Try the eth_getFilterChanges
RPC method yourself
eth_getFilterChanges
RPC method yourself