Evm Logs
evm_logsDecoded event logs for any contract and event on Ethereum, Base, Arbitrum, OP Mainnet, Polygon or BNB Chain: give the event as a human signature (e.g. "Transfer(address indexed from, address indexed to, uint256 value)"), optional indexed-topic filters, and get the newest matching logs with named, ABI-decoded arguments (exact integers as strings, checksummed addresses). Scans backwards from the head with an adaptive block window. Keyless public RPC. Price: $0.01 USDC per successful call (x402, Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/evm-logs
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": {
"address": "<address>",
"event": "<event>"
},
"name": "evm_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | eth (default), base, arbitrum, optimism, polygon or bsc (chain ids and common aliases accepted) | |
| event | Yes | Event signature, e.g. "Swap(address indexed sender, uint256 amount0In, ...)". Mark indexed params; without "indexed" the first N params are assumed indexed from the topic count | |
| limit | No | Max logs returned, newest first | |
| blocks | No | Max blocks to scan back from toBlock | |
| topic1 | No | Filter on the 1st indexed param: address, uint (decimal) or 32-byte hex | |
| topic2 | No | Filter on the 2nd indexed param | |
| topic3 | No | Filter on the 3rd indexed param | |
| address | Yes | Contract address emitting the event (0x, 20 bytes) | |
| toBlock | No | Newest block to scan (default head) |