perp-cli 0.14.0 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,7 +42,7 @@ perp --json wallet generate evm # generate EVM wallet
42
42
  perp --json wallet generate solana # generate Solana wallet
43
43
  perp --json wallet show # check configured wallets
44
44
  perp --json wallet list # list named wallets
45
- perp --json wallet balance # on-chain USDC balances
45
+ perp --json wallet balance # gas token + USDC/USDT per chain (Arbitrum, Ethereum, Base, BNB, Robinhood USDG, Solana); failed reads → balance null + error
46
46
  perp --json portfolio -e <EX> # per-exchange balance + positions (account balance was renamed in v0.12)
47
47
  perp --json -e <EX> account positions # open positions
48
48
  perp --json -e <EX> market list # available markets
@@ -148,7 +148,7 @@ Default `-e` = `settings.defaultExchange`, else `pacifica` — always pass `-e`.
148
148
 
149
149
  ### Check On-Chain vs Exchange Balance
150
150
  ```bash
151
- perp --json wallet balance # on-chain USDC in your wallet
151
+ perp --json wallet balance # gas token + USDC/USDT per chain (Arbitrum, Ethereum, Base, BNB, Robinhood USDG, Solana); failed reads → balance null + error
152
152
  perp --json portfolio -e hyperliquid # USDC deposited on exchange
153
153
  ```
154
154
 
@@ -19,12 +19,14 @@ perp --json -e <EX> market book <SYMBOL> # orderbook (bids/asks)
19
19
  perp --json -e <EX> market trades <SYMBOL> # recent trades
20
20
  perp --json -e <EX> market funding <SYMBOL> # funding rate history
21
21
  perp --json -e <EX> market kline <SYM> <INT> # OHLCV candles (1m,5m,15m,1h,4h,1d)
22
- perp --json market hip3 # list HIP-3 deployed perp dexes (Hyperliquid)
22
+ perp --json -e hyperliquid market hip3 # list HIP-3 deployed perp dexes (needs -e hyperliquid; other -e → INVALID_PARAMS)
23
+ perp --json -e hyperliquid --dex <DEX> market list # one HIP-3 dex's markets (e.g. --dex xyz)
24
+ perp --json -e hyperliquid --dex <DEX> market book <SYMBOL> # any market/account/trade command takes --dex the same way
23
25
  ```
24
26
 
25
27
  ## Account (read-only, safe)
26
28
  ```bash
27
- perp --json portfolio -e <VENUE_ID> # perp balance + spot holdings + 24h funding; full venue id only (hl → INVALID_PARAMS)
29
+ perp --json portfolio -e <VENUE_ID> # perp balance + spot holdings + 24h funding; venue id or alias (hl, lt, …)
28
30
  perp --json -e <EX> account positions # open positions
29
31
  perp --json -e <EX> account orders # open/pending orders
30
32
  perp --json -e <EX> account history # order history
@@ -195,15 +197,14 @@ perp --json funds withdraw hyperliquid <AMOUNT> [--chain arbitrum|ethereum|base]
195
197
  # --to another address only if it is on settings withdraw.hyperliquid (else POLICY_DENIED).
196
198
  perp --json funds withdraw lighter <AMOUNT> # -e lighter: USDC → Ethereum; -e lighter-rh: USDG → Robinhood Chain
197
199
  perp --json funds deposit lighter-rh <AMOUNT> # USDG on Robinhood Chain (min 1, mainnet only)
198
- perp --json funds withdraw ondo <AMOUNT> --to <ADDRESS> # USDC → Ethereum (address-book destination)
200
+ # Ondo Perps: NO API withdrawals — `funds withdraw ondo` → CAPABILITY_UNSUPPORTED; withdraw in the Ondo web app
199
201
  perp --json funds withdraw arcus <AMOUNT> # USDG → the account owner (min 1)
200
202
  perp --json funds deposit qfex # prints the USDC / Arbitrum One deposit address (sends nothing)
201
- perp --json --dry-run funds withdraw qfex <AMOUNT> --to <0x> # plan + local gate verdict (settings withdraw.qfex; user-only, terminal)
203
+ # QFEX: withdrawals disabled in perp-cli for now — `funds withdraw qfex` → CAPABILITY_UNSUPPORTED; withdraw in the QFEX web app
202
204
  perp --json -e qfex funds transfer <AMOUNT> primary --from <account-uuid> # between your QFEX accounts
203
205
  perp --json funds deposit aster <AMOUNT> [--chain bsc|arbitrum] [--asset USDT|USDC] # vault approve + deposit (mainnet; default BNB Chain USDT)
204
206
  perp --json funds withdraw aster <AMOUNT> [--chain bsc|arbitrum] [--asset USDT|USDC] # → the account's own address (default USDT; mainnet; agent approved with --can-withdraw --ip-whitelist)
205
207
  perp --json funds deposit ondo <AMOUNT> [--chain arbitrum|ethereum] [--probe <AMT>] # USDC transfer to the account's funding address (mainnet)
206
- perp --json funds address-book add ondo <MASTER_ADDRESS> # SIWE challenge → Ondo withdrawal address book (own address only)
207
208
  perp --json funds transfer <AMOUNT> <ADDRESS> # HL internal transfer (instant); destination must be on settings withdraw.hyperliquid
208
209
  # settings withdraw.<venue> (allowlist + limits) is set ONLY by the user in an interactive terminal
209
210
  # (--json / piped → POLICY_DENIED). Agents never set or change it.
@@ -307,7 +308,7 @@ perp --json wallet list # all named wallets
307
308
  perp --json wallet use <name> # set active wallet
308
309
  perp --json wallet rename <old> <new>
309
310
  perp --json wallet remove <name>
310
- perp --json wallet balance # on-chain USDC balances
311
+ perp --json wallet balance # gas token + USDC/USDT per chain (Arbitrum, Ethereum, Base, BNB, Robinhood USDG, Solana); failed reads → balance null + error
311
312
  perp --json wallet solana <address> # check arbitrary Solana address
312
313
  perp --json wallet arbitrum <address> # check arbitrary Arbitrum address
313
314
  perp --json wallet migrate # migrate legacy ~/.perp/.env config