queryLogs
Query historical Ethereum event logs by specifying filters like contract address, block range, and topics to analyze blockchain activity using the MCP Ethers Wallet server.
Instructions
Query historical logs
Input Schema
Name | Required | Description | Default |
---|---|---|---|
address | No | The contract address emitting the events (optional). | |
fromBlock | No | The starting block number (optional). | |
provider | No | Optional. Either a network name or custom RPC URL. Use getSupportedNetworks to get a list of supported networks. | |
toBlock | No | The ending block number (optional). | |
topics | No | A list of topics to filter by. Each item can be a string, null, or an array of strings (optional) |