transfer_erc20
Transfer ERC20 tokens between addresses on EVM-compatible networks using the sender's private key, token contract address, and recipient details. Supports Ethereum, Optimism, Arbitrum, and more.
Instructions
Transfer ERC20 tokens to another address
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | Yes | The amount of tokens to send (in token units, e.g., '10' for 10 tokens) | |
network | No | Network name (e.g., 'ethereum', 'optimism', 'arbitrum', 'base', etc.) or chain ID. Supports all EVM-compatible networks. Defaults to Ethereum mainnet. | |
privateKey | Yes | Private key of the sending account (this is used for signing and is never stored) | |
toAddress | Yes | The recipient address | |
tokenAddress | Yes | The address of the ERC20 token contract |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"amount": {
"description": "The amount of tokens to send (in token units, e.g., '10' for 10 tokens)",
"type": "string"
},
"network": {
"description": "Network name (e.g., 'ethereum', 'optimism', 'arbitrum', 'base', etc.) or chain ID. Supports all EVM-compatible networks. Defaults to Ethereum mainnet.",
"type": "string"
},
"privateKey": {
"description": "Private key of the sending account (this is used for signing and is never stored)",
"type": "string"
},
"toAddress": {
"description": "The recipient address",
"type": "string"
},
"tokenAddress": {
"description": "The address of the ERC20 token contract",
"type": "string"
}
},
"required": [
"privateKey",
"tokenAddress",
"toAddress",
"amount"
],
"type": "object"
}