curl --request POST \
--url https://ronin-mainnet.core.chainstack.com/3997273fc956a67dc6982384500e669e \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getFilterChanges",
"params": [
"0x1fb7f4c4e3e6af9d892f657ccaa77a7c"
]
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": [
{
"removed": true,
"logIndex": "<string>",
"transactionIndex": "<string>",
"transactionHash": "<string>",
"blockHash": "<string>",
"blockNumber": "<string>",
"address": "<string>",
"data": "<string>",
"topics": [
"<string>"
]
}
]
}curl --request POST \
--url https://ronin-mainnet.core.chainstack.com/3997273fc956a67dc6982384500e669e \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getFilterChanges",
"params": [
"0x1fb7f4c4e3e6af9d892f657ccaa77a7c"
]
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": [
{
"removed": true,
"logIndex": "<string>",
"transactionIndex": "<string>",
"transactionHash": "<string>",
"blockHash": "<string>",
"blockNumber": "<string>",
"address": "<string>",
"data": "<string>",
"topics": [
"<string>"
]
}
]
}filter_id — a single filter identifier as a hexadecimal string. This filter ID is returned by eth_newFilter or eth_newBlockFilter and is used to poll for changes to the filter.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.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).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.Was this page helpful?