transfer_token
Send ERC20 tokens to a recipient address or ENS name by specifying the token contract, amount, and sender private key for transaction signing.
Instructions
Transfer ERC20 tokens to an address
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"privateKey": "<privateKey>",
"tokenAddress": "<tokenAddress>",
"toAddress": "<toAddress>",
"amount": "<amount>"
},
"name": "transfer_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount of tokens to send as a string (e.g., '100' for 100 tokens). This will be adjusted for the token's decimals. | |
| toAddress | Yes | The recipient address or ENS name that will receive the tokens (e.g., '0x1234...' or 'vitalik.eth') | |
| privateKey | Yes | Private key of the sender account in hex format (with or without 0x prefix). SECURITY: This is used only for transaction signing and is not stored. | |
| tokenAddress | Yes | The contract address or ENS name of the ERC20 token to transfer (e.g., '0xA0b8...' for USDC or 'uniswap.eth') |