eth_getLogs
JSON-RPC methods
jsonrpc eth_getLogs | TRON
TRON API method that returns an array of logs matching the specified filter criteria. This method provides Ethereum-compatible interface for TRON blockchain.
POST
eth_getLogs
TRON API method that retrieves event logs based on filter criteria, providing an Ethereum-compatible interface for accessing TRON blockchain data.
Get your own node endpoint todayStart 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
jsonrpc— the JSON-RPC protocol version (always “2.0”)method— the method name (always “eth_getLogs”)params— array containing method parametersfilterObject— object containing filter criteria including fromBlock, toBlock, address, and topics
id— request identifier (number or string)
Response
jsonrpc— the JSON-RPC protocol version (“2.0”)id— the request identifier that matches the requestresult— array of log objects matching the filter criteria
Use case
Thejsonrpc eth_getLogs method is used for:
- Retrieving smart contract event logs for dApp functionality through Web3 interfaces
- Building event-driven applications that react to on-chain activities
- Implementing transaction and event monitoring systems for compliance and analytics
- Creating blockchain explorers and audit tools that track contract interactions
Body
application/json
Last modified on April 15, 2026