transfer_token
Send ERC20 tokens to a recipient address using a private key for signing. Specify the token contract, recipient, amount, and network for secure and accurate transfers across EVM-compatible chains.
Instructions
Transfer ERC20 tokens to an address
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. | |
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 sender account in hex format (with or without 0x prefix). SECURITY: This is used only for transaction signing and is not stored. | |
toAddress | Yes | The recipient address or ENS name that will receive the tokens (e.g., '0x1234...' or 'vitalik.eth') | |
tokenAddress | Yes | The contract address or ENS name of the ERC20 token to transfer (e.g., '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' for USDC or 'uniswap.eth') |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"amount": {
"description": "Amount of tokens to send as a string (e.g., '100' for 100 tokens). This will be adjusted for the token's decimals.",
"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 sender account in hex format (with or without 0x prefix). SECURITY: This is used only for transaction signing and is not stored.",
"type": "string"
},
"toAddress": {
"description": "The recipient address or ENS name that will receive the tokens (e.g., '0x1234...' or 'vitalik.eth')",
"type": "string"
},
"tokenAddress": {
"description": "The contract address or ENS name of the ERC20 token to transfer (e.g., '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' for USDC or 'uniswap.eth')",
"type": "string"
}
},
"required": [
"privateKey",
"tokenAddress",
"toAddress",
"amount"
],
"type": "object"
}