MCP Ethers Wallet
contractEvents
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
- 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