contractCallWithEstimate
Execute a smart contract method with automatic gas estimation. Provide contract ABI, address, method name, and arguments to interact securely and efficiently with Ethereum networks using MCP Ethers Wallet.
Instructions
Call a method on a smart contract with automatic gas estimation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
abi | Yes | The ABI of the contract as a JSON string | |
contractAddress | Yes | The address of the smart contract | |
method | Yes | The method name to invoke | |
methodArgs | No | An array of arguments to pass to the method | |
provider | No | Optional. Either a network name or custom RPC URL. Use getSupportedNetworks to get a list of supported networks. | |
value | No | Optional. The amount of ETH to send with the call |