contractCallWithOverrides
Invoke smart contract methods with customization, including gas limits, gas prices, nonce, and value, tailored to specific Ethereum network interactions.
Instructions
Call a method on a smart contract with advanced options
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 | |
gasLimit | No | Optional. A manual gas limit for the transaction | |
gasPrice | No | Optional. A manual gas price for legacy transactions | |
method | Yes | The method name to invoke | |
methodArgs | No | An array of arguments to pass to the method | |
nonce | No | Optional. A manual nonce for the transaction | |
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 |