Contract Events
security.contract.eventsRead recent event logs from any smart contract. Auto-decodes Transfer, Approval, Swap events. EVM only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | EVM chain only. Supported chains: base, ethereum, arbitrum, optimism, polygon, bsc, avalanche, zksync, linea, scroll, blast, mantle, gnosis, polygon-zkevm, mode, sei, celo, manta, taiko, fantom, cronos, opbnb, zora, worldchain, metis, fraxtal, kava, zetachain, filecoin, core-dao, aurora, moonbeam, klaytn, bob, canto, monad, tempo, megaeth, arc, plasma, katana, robinhood, pharos, hyperevm. | base |
| blocks | No | Number of blocks to scan | |
| address | Yes | Contract address |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Blockchain queried | |
| error | No | ||
| contract | Yes | Address | |
| chainName | Yes | ||
| timestamp | Yes | Unix timestamp ms | |
| blockRange | No | ||
| eventTypes | No | ||
| knownLabel | No | ||
| totalEvents | Yes | ||
| recentEvents | No | ||
| blocksScanned | Yes |