transferERC20
Transfer ERC20 tokens to a recipient address using the MCP Ethers Wallet. Specify token address, recipient, and amount; optionally configure network, gas settings, and chain ID for execution.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | Yes | The amount of tokens to transfer (can be decimal, e.g. '1.5') | |
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. | |
gasLimit | No | ||
gasPrice | No | ||
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. | |
recipientAddress | Yes | The Ethereum address to receive the tokens | |
tokenAddress | Yes | The address of the ERC20 token contract |