> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# jsonrpc eth_getFilterLogs | TRON

> TRON API method that returns all logs matching a specific filter. This method provides Ethereum-compatible interface for TRON blockchain.

TRON API method that returns all logs matching a previously created filter, providing an Ethereum-compatible interface for retrieving historical TRON blockchain data.

## Parameters

* `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\_newFilter
* `id` — request identifier (number or string)

## Response

* `jsonrpc` — the JSON-RPC protocol version ("2.0")
* `id` — the request identifier that matches the request
* `result` — array of all log objects that match the filter criteria

## Use case

The `jsonrpc eth_getFilterLogs` method is used for:

* Retrieving all historical logs that match a previously created filter
* Building comprehensive audit trails and analytics for smart contract interactions
* Implementing batch processing systems that need complete log datasets through Web3 interfaces
* Creating blockchain explorers and reporting tools that analyze contract event histories


## OpenAPI

````yaml openapi/tron_node_api/jsonrpc_eth_getFilterLogs.json POST /95e61622bf6a8af293978377718e3b77/jsonrpc
openapi: 3.0.0
info:
  title: eth_getFilterLogs example
  version: 1.0.0
  description: >-
    This is an API example for eth_getFilterLogs, a method to return all logs
    matching a specific filter on the TRON network through Ethereum-compatible
    JSON-RPC interface.
servers:
  - url: https://tron-mainnet.core.chainstack.com
security: []
paths:
  /95e61622bf6a8af293978377718e3b77/jsonrpc:
    post:
      tags:
        - TRON JSON-RPC Operations
      summary: eth_getFilterLogs
      operationId: getFilterLogs
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - method
                - id
                - params
              properties:
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_getFilterLogs
                id:
                  type: integer
                  default: 71
                params:
                  type: array
                  default:
                    - >-
                      0xc11a84d5e906ecb9f5c1eb65ee940b154ad37dce8f5ac29c80764508b901d996
                  items:
                    type: string
                    description: The filter ID returned by eth_newFilter
      responses:
        '200':
          description: Array of all log objects matching the filter criteria
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: array
                    description: Array of all log objects that match the filter criteria
                    items: {}

````