evm-log-events
Retrieve decoded EVM event logs using contract address and topic signature. Filter by block range and chain to get up to 50 entries per call.
Instructions
Query EVM contract event logs via eth_getLogs. Filter by contract address, event topic (signature hash), and block range. Returns up to 50 decoded log entries with topics, data, tx hash, block number. Supports Ethereum/Base/Polygon/Arbitrum via free DRPC. $0.004/call — 20% below comparable market rate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | Contract address to query logs from (e.g. '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' for WETH). | |
| topic0 | No | Event signature hash (topic[0]) to filter by. Common values: Transfer = '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef', Approval = '0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925', Swap (Uniswap V2) = '0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822'. | |
| from_block | No | Start block — integer, hex string, or tag (latest/earliest). Default: 100 blocks before latest. | |
| to_block | No | End block — integer, hex string, or tag. Default: latest. | |
| chain | No | Chain to query. Default: ethereum. | |
| limit | No | Max number of log entries to return (1–50). Default: 20. |