leapcat-wallet
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseLeapCat Wallet Management Skill
LeapCat 钱包管理Skill
Manage wallet balances, deposits, withdrawals, debt status, and fund activity using the leapcat.
使用leapcat管理钱包余额、充值、提现、债务状态和资金动态。
Prerequisites
前置要求
- Node.js 18+ is required (commands use which auto-downloads the CLI)
npx leapcat@latest - User must be authenticated — run first
npx leapcat@latest auth login --email <email> - For withdrawals: a Turnkey session is required — run first
npx leapcat@latest auth reauth --json - For withdrawals: trade password must be set
- 需要安装Node.js 18及以上版本(命令使用会自动下载CLI)
npx leapcat@latest - 用户必须完成身份认证 —— 请先运行
npx leapcat@latest auth login --email <email> - 提现操作需要Turnkey会话 —— 请先运行
npx leapcat@latest auth reauth --json - 提现操作必须已设置交易密码
Commands
命令
wallet balance
wallet balance
Check the user's current wallet balance.
bash
npx leapcat@latest wallet balance --json查询用户当前钱包余额。
bash
npx leapcat@latest wallet balance --jsonwallet deposit-address
wallet deposit-address
Get the deposit address for receiving funds.
bash
npx leapcat@latest wallet deposit-address --json获取用于接收资金的充值地址。
bash
npx leapcat@latest wallet deposit-address --jsonwallet deposits
wallet deposits
List all deposit transactions.
bash
npx leapcat@latest wallet deposits --json列出所有充值交易记录。
bash
npx leapcat@latest wallet deposits --jsonwallet deposit
wallet deposit
Get details of a specific deposit.
bash
npx leapcat@latest wallet deposit --id <deposit-id> --jsonParameters:
- — The deposit transaction identifier
--id <deposit-id>
获取指定充值交易的详情。
bash
npx leapcat@latest wallet deposit --id <deposit-id> --json参数:
- —— 充值交易ID
--id <deposit-id>
wallet withdraw
wallet withdraw
Initiate a withdrawal. Requires an elevated session () and trade password.
auth reauthbash
npx leapcat@latest wallet withdraw --amount <amount> --address <address> --jsonParameters:
- — Amount to withdraw
--amount <amount> - — Destination wallet address
--address <address>
发起提现。需要升级会话权限()以及交易密码。
auth reauthbash
npx leapcat@latest wallet withdraw --amount <amount> --address <address> --json参数:
- —— 提现金额
--amount <amount> - —— 目标钱包地址
--address <address>
wallet withdrawals
wallet withdrawals
List all withdrawal transactions.
bash
npx leapcat@latest wallet withdrawals --json列出所有提现交易记录。
bash
npx leapcat@latest wallet withdrawals --jsonwallet debt-status
wallet debt-status
Check if the user has any outstanding debt or margin obligations.
bash
npx leapcat@latest wallet debt-status --json查询用户是否有未偿还债务或保证金负债。
bash
npx leapcat@latest wallet debt-status --jsonwallet fund-activities
wallet fund-activities
View a history of all fund activities (deposits, withdrawals, trades, fees, etc.).
bash
npx leapcat@latest wallet fund-activities --json查看所有资金动态历史(充值、提现、交易、手续费等)。
bash
npx leapcat@latest wallet fund-activities --jsonWorkflow
工作流
Checking Balance
查询余额
bash
npx leapcat@latest wallet balance --jsonbash
npx leapcat@latest wallet balance --jsonDepositing Funds
资金充值
- Get deposit address — Run to obtain the address.
wallet deposit-address --json - Share address with user — Provide the address so the user can transfer funds from an external source.
- Monitor deposit — Periodically run to check if the deposit has arrived and been confirmed.
wallet deposits --json
- 获取充值地址 —— 运行获取地址。
wallet deposit-address --json - 告知用户地址 —— 提供地址以便用户从外部渠道转入资金。
- 监控充值状态 —— 定期运行查看充值是否到账并确认。
wallet deposits --json
Withdrawing Funds
资金提现
- Re-authenticate — Run to elevate the session (Turnkey session).
npx leapcat@latest auth reauth --json - Initiate withdrawal — Run . The user will be prompted for their trade password.
wallet withdraw --amount <amount> --address <address> --json - Monitor withdrawal — Run to track the withdrawal status.
wallet withdrawals --json
- 重新身份认证 —— 运行升级会话权限(获取Turnkey会话)。
npx leapcat@latest auth reauth --json - 发起提现申请 —— 运行,系统将提示用户输入交易密码。
wallet withdraw --amount <amount> --address <address> --json - 监控提现状态 —— 运行跟踪提现进度。
wallet withdrawals --json
Reviewing Activity
查看动态
bash
npx leapcat@latest wallet fund-activities --jsonbash
npx leapcat@latest wallet fund-activities --jsonError Handling
错误处理
| Error | Cause | Resolution |
|---|---|---|
| Session expired | Re-authenticate with |
| Elevated session needed for withdrawal | Run |
| Trade password required for withdrawal | Set via |
| Not enough funds to withdraw | Check balance and adjust amount |
| Destination address is malformed | Verify the withdrawal address |
| Amount exceeds daily/monthly limit | Reduce the withdrawal amount |
| Invalid deposit ID | Re-check with |
| 错误码 | 原因 | 解决方案 |
|---|---|---|
| 会话已过期 | 使用 |
| 提现需要升级会话权限 | 先运行 |
| 提现需要交易密码 | 通过 |
| 余额不足无法提现 | 查询余额并调整提现金额 |
| 目标地址格式错误 | 核对提现地址 |
| 金额超出日/月限额 | 降低提现金额 |
| 无效的充值ID | 使用 |