transfer_erc20
Transfer ERC20 tokens between addresses using a private key for signing. Specify token, recipient, and amount; defaults to BSC mainnet. Supports various networks.
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. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet. | bsc |
privateKey | No | 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. | 0x5a2b7e4d9c8f1a3e6b0d2c5f4e3d2a1b0c9f8e7d6a5b4c3d2e1f0a9b8c7d6e5f4 |
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') |