perp_withdraw
Withdraw USDC from a HyperLiquid perpetual account by specifying the amount, enabling traders to move funds out of their perp balance to a connected wallet.
Instructions
Withdraw USDC from the HyperLiquid perpetual account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | USDC amount to withdraw | |
| apiKey | No | GDEX API key for AES encryption | |
| accountRef | No | Connected account from gdex_connect. Supplies session key, wallet address, API key and session data so no secret is passed in chat | |
| walletAddress | No | Control wallet address | |
| sessionPrivateKey | No | Session private key from sign-in |