contractEvents
Query historical smart contract events by specifying the contract address, ABI, and optional filters like event name, block range, or topics using this Ethereum network tool.
Instructions
Query historical events from a contract
Input Schema
Name | Required | Description | Default |
---|---|---|---|
abi | Yes | The ABI of the contract as a JSON string | |
contractAddress | Yes | The address of the contract to query events from | |
eventName | No | The name of the event to look for. (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) |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from MCP Ethers Wallet
- checkWalletExists
- contractCall
- contractCallView
- contractCallWithEstimate
- contractCallWithOverrides
- contractEvents
- contractSendTransaction
- contractSendTransactionWithEstimate
- contractSendTransactionWithOverrides
- formatEther
- formatUnits
- getBlockDetails
- getBlockNumber
- getContractCode
- getERC20Balance
- getFeeData
- getGasPrice
- getSupportedNetworks
- getTransactionDetails
- getTransactionsByBlock
- getWalletBalance
- getWalletTransactionCount
- lookupAddress
- parseEther
- parseUnits
- queryLogs
- resolveName
- sendRawTransaction
- sendTransaction
- sendTransactionWithOptions
- signMessage
Related Tools
- @crazyrabbitLTC/mcp-ethers-server
- @0xKoda/eth-mcp
- @dcSpark/mcp-cryptowallet-evm
- @ibraheem4/eventbrite-mcp
- @Bankless/onchain-mcp