t2000-send

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

t2000: Send USDC

t2000:转账USDC

Purpose

用途

Transfer USDC from the agent's available balance to any Sui address. Gas is self-funded from the agent's SUI reserve (auto-topped up if needed).
将Agent可用余额中的USDC转账至任意Sui地址。手续费从Agent的SUI储备金中自行支付(若储备金不足,会自动触发充值)。

Command

命令

bash
t2000 send <amount> <asset> to <address>
t2000 send <amount> <asset> <address>
bash
t2000 send <amount> <asset> to <address>
t2000 send <amount> <asset> <address>

Examples:

Examples:

t2000 send 10 USDC to 0x8b3e...d412 t2000 send 50 USDC 0xabcd...1234

The `to` keyword is optional.
t2000 send 10 USDC to 0x8b3e...d412 t2000 send 50 USDC 0xabcd...1234

`to`关键字为可选参数。

Pre-flight checks (automatic)

预检查(自动执行)

  1. Sufficient available USDC balance
  2. SUI gas reserve present; if not, auto-topup triggers transparently
  1. 拥有充足的可用USDC余额
  2. 存在SUI手续费储备金;若不存在,会自动透明触发充值

Output

输出

✓ Sent $XX.XX USDC → 0x8b3e...d412
  Gas: X.XXXX SUI (self-funded)
  Balance: $XX.XX USDC
  Tx: https://suiscan.xyz/mainnet/tx/0x...
✓ Sent $XX.XX USDC → 0x8b3e...d412
  Gas: X.XXXX SUI (self-funded)
  Balance: $XX.XX USDC
  Tx: https://suiscan.xyz/mainnet/tx/0x...

Error handling

错误处理

  • INSUFFICIENT_BALANCE
    : available balance is less than the requested amount
  • INVALID_ADDRESS
    : destination is not a valid Sui address
  • SIMULATION_FAILED
    : transaction would fail on-chain; details in error message
  • INSUFFICIENT_BALANCE
    :可用余额低于请求转账的金额
  • INVALID_ADDRESS
    :目标地址不是有效的Sui地址
  • SIMULATION_FAILED
    :交易在链上执行会失败;错误信息中包含详细说明