curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/jsonrpc/eth_getFilterChanges \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_getFilterChanges",
"id": 71,
"params": [
"0xc11a84d5e906ecb9f5c1eb65ee940b154ad37dce8f5ac29c80764508b901d996"
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": [
"<any>"
]
}
TRON API method that polls for filter changes and returns new logs or blocks. This method provides Ethereum-compatible interface for TRON blockchain.
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/jsonrpc/eth_getFilterChanges \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_getFilterChanges",
"id": 71,
"params": [
"0xc11a84d5e906ecb9f5c1eb65ee940b154ad37dce8f5ac29c80764508b901d996"
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": [
"<any>"
]
}
jsonrpc
— the JSON-RPC protocol version (always “2.0”)method
— the method name (always “eth_getFilterChanges”)params
— array containing method parameters
filterId
— the filter ID returned by eth_newFilter or eth_newBlockFilterid
— request identifier (number or string)jsonrpc
— the JSON-RPC protocol version (“2.0”)id
— the request identifier that matches the requestresult
— array of log objects (for log filters) or block hashes (for block filters)jsonrpc eth_getFilterChanges
method is used for:
Array of log objects or block hashes since last poll
The response is of type object
.