curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/jsonrpc/eth_getFilterLogs \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_getFilterLogs",
"id": 71,
"params": [
"0xc11a84d5e906ecb9f5c1eb65ee940b154ad37dce8f5ac29c80764508b901d996"
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": [
"<any>"
]
}
TRON API method that returns all logs matching a specific filter. This method provides Ethereum-compatible interface for TRON blockchain.
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/jsonrpc/eth_getFilterLogs \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_getFilterLogs",
"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_getFilterLogs”)params
— array containing method parameters
filterId
— the filter ID returned by eth_newFilterid
— request identifier (number or string)jsonrpc
— the JSON-RPC protocol version (“2.0”)id
— the request identifier that matches the requestresult
— array of all log objects that match the filter criteriajsonrpc eth_getFilterLogs
method is used for:
Array of all log objects matching the filter criteria
The response is of type object
.