contractSendTransaction
Execute smart contract methods and send transactions with custom parameters using the ABI, contract address, method name, and optional arguments. Supports Ethereum networks for blockchain interactions.
Instructions
Call a method on a smart contract and send a transaction with custom parameters
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. The gas limit for the transaction | |
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 |