azeth_transfer
Transfer ETH or ERC-20 from your Azeth smart account to any address, participant, or account. Resolves recipient names and indices automatically.
Instructions
Send ETH or ERC-20 tokens FROM your Azeth smart account to another address.
Use this when: You need to pay another participant, fund an account, or move tokens between addresses.
The "to" field accepts: an Ethereum address, a participant name (resolved via trust registry), "me" (your first smart account), or "#N" (Nth account index from azeth_accounts).
IMPORTANT: This sends FROM your smart account, not your EOA. Ensure your smart account is funded. Use azeth_deposit first to fund your smart account if needed. One EOA can own multiple smart accounts — specify which one, or defaults to first.
Returns: Transaction hash, sender smart account address, recipient address (with resolution info), and amount sent.
Note: This is a state-changing operation. The tool shows the resolved address before executing. For ETH transfers, omit the token parameter. For ERC-20 tokens, provide the token contract address AND decimals. The amount is in human-readable units (e.g., "1.5" for 1.5 ETH or "100" for 100 USDC). The sender account is determined by the AZETH_PRIVATE_KEY environment variable.
Example: { "to": "Alice", "amount": "0.001" } or { "to": "0x1234...abcd", "amount": "10", "token": "0x036C...CF7e", "decimals": 6 }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Target chain. Defaults to AZETH_CHAIN env var or "baseSepolia". Accepts "base", "baseSepolia", "ethereumSepolia", "ethereum" (and aliases like "base-sepolia", "eth-sepolia", "sepolia", "eth", "mainnet"). | |
| to | Yes | Recipient: Ethereum address, participant name, "me", or "#N" (account index). | |
| amount | Yes | Amount to send in human-readable units (e.g., "1.5" for 1.5 ETH, "100" for 100 USDC). | |
| token | No | ERC-20 token contract address. Omit for native ETH transfer. | |
| decimals | No | Token decimals for ERC-20 transfers. REQUIRED when token is specified. Use 6 for USDC, 18 for WETH. | |
| smartAccount | No | Smart account to transfer from: address, name, or "#N". If omitted, uses your first smart account. |