eth_decode_log
Decode a raw event log (topics + data) into named fields using a provided ABI on Ethereum mainnet. Pure computation — no RPC call needed. Pass topics and data from a transaction receipt log entry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abi | Yes | Contract ABI as a JSON array of ABI items, or a JSON-encoded string of that array | |
| data | Yes | Log data field (0x-prefixed hex, ABI-encoded non-indexed event parameters) | |
| topics | Yes | Log topics array. topics[0] is the event signature hash (keccak256 of the event signature) |