MINARA

創建永續合約子賬戶

POST /v1/perp-wallets:創建綁定到單個交易所的永續合約子賬戶。

POST /v1/perp-wallets

創建一個綁定到單個交易所(hyperliquidlighter)的永續合約子賬戶。請求體為 { name: string (max 20), exchange?: 'hyperliquid' | 'lighter' }。新子賬戶會以 creating 狀態返回,調用方必須輪詢 GET /v1/perp-wallets,待其變為 active 後才能針對它調用交易網關。也可使用 /v1/perps/sub-accounts 別名。

方法POST
路徑/v1/perp-wallets
認證設置 GATEWAY_AUTH_TOKEN 時需要 Authorization: Bearer <token>
類別perps

本頁目錄