Skip to main content
POST
/
v2
/
clob
/
account
/
approve
Approve Trading (Deprecated)
curl --request POST \
  --url https://api.pmx.trade/v2/clob/account/approve
This endpoint is deprecated. The delegate-based approval model has been replaced by the deposit-based smart wallet model. Use POST /v2/clob/account/deposit to deposit USDC into the smart wallet and begin trading.

Migration

The PMX orderbook now uses a deposit-based smart wallet model instead of delegate approvals:
Old (Deprecated)New
POST /v2/clob/account/approve — approve exchange as USDC delegatePOST /v2/clob/account/deposit — deposit USDC into smart wallet
USDC stays in wallet, exchange moves funds via delegationUSDC is held in smart wallet, exchange debits/credits during settlement
One-time setupDeposit as needed, withdraw anytime
To get started with the new model:
  1. Deposit USDC via POST /v2/clob/account/deposit
  2. Check readiness via GET /v2/clob/account/setupready is true when smart wallet balance > 0
  3. Withdraw anytime via POST /v2/clob/account/withdraw