azeth_deposit
Deposit ETH or ERC-20 tokens from your wallet into your own Azeth smart account to enable transfers and x402 payments. On-chain verification ensures secure deposits to your account only.
Instructions
Deposit ETH or ERC-20 tokens from your EOA wallet into your own Azeth smart account.
Use this when: Your smart account needs funding for transfers, x402 payments, or other operations.
SECURITY: This verifies ON-CHAIN that the target is a real Azeth smart account owned by you. You cannot deposit to someone else's smart account.
Returns: Transaction hash and deposit details.
Note: If no target account is specified, deposits to your first smart account. For ETH deposits, omit the token parameter. For ERC-20 tokens, provide the token contract address AND decimals. The amount is in human-readable units (e.g., "0.01" for 0.01 ETH, "100" for 100 USDC).
Example: { "amount": "0.01" } or { "amount": "50", "token": "0x036CbD53842c5426634e7929541eC2318f3dCF7e", "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"). | |
| amount | Yes | Amount to deposit in human-readable units (e.g., "0.01" for 0.01 ETH). | |
| token | No | ERC-20 token contract address. Omit for native ETH deposit. | |
| decimals | No | Token decimals for ERC-20 deposits. REQUIRED when token is specified. Use 6 for USDC, 18 for WETH. | |
| smartAccount | No | Target smart account address, name, or "#N" (account index). If omitted, deposits to your first Azeth account. |