sendTransaction
Send Ether or data to an Ethereum address using MCP Ethers Wallet. Specify recipient, amount, optional data, and network. Simulate transactions in mock mode or execute on the specified blockchain.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chainId | No | Optional. The chain ID to use. If provided with a named network and they don't match, the RPC's chain ID will be used. | |
data | No | Optional. The hex data to include in the transaction | |
mockMode | No | Optional. If true, just simulates the transaction without sending it. Default is false. | |
provider | No | Optional. Either a network name or custom RPC URL. Use getAllNetworks to see available networks and their details, or getNetwork to get info about a specific network. You can use any network name returned by these tools as a provider value. | |
to | Yes | The Ethereum address to send to | |
value | Yes | The amount to send in ether |