evm_logs
Decode EVM event logs (any chain, no RPC) ($0.002 per call, paid via MPP on Tempo). Decode up to 50 raw logs ({topics, data, address}) from a receipt into event names and typed arguments. Uses your ABI, a Sourcify-verified ABI (chain_id + address), or the 4byte event database, trying indexed-parameter layouts until one decodes strictly. HTTP POST https://mpp-chain.fmf-x402.workers.dev/mpp/evm/logs. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"logs": "<logs>"
},
"name": "evm_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abi | No | Optional ABI (JSON or human-readable) | |
| logs | Yes | Array of {topics: [0x..], data: 0x.., address?} (eth_getTransactionReceipt logs work as-is) | |
| address | No | Optional emitting contract address for Sourcify ABI | |
| chain_id | No | Optional chain id for Sourcify ABI |