cWithdraw action withdraws the native token from Hyperliquid staking into the user's spot account. The documented wait is a 7-day unstaking queue: transfers from staking to the spot account go through that queue.
Source: Hyperliquid exchange endpoint documentation.
Endpoint and required fields
Send a signed request to:
POST https://api.hyperliquid.xyz/exchange
Header:
| Name | Value |
|---|---|
Content-Type | application/json |
cWithdraw action uses these fields:
| Field | Required | Meaning |
|---|---|---|
action.type | Yes | cWithdraw |
action.hyperliquidChain | Yes | Mainnet, or Testnet on testnet |
action.signatureChainId | Yes | Chain ID used when signing, in hexadecimal format; for example, 0xa4b1 for Arbitrum |
action.wei | Yes | Amount of wei to transfer, as a number |
action.nonce | Yes | Current timestamp in milliseconds; must match the outer request nonce |
nonce | Yes | Current timestamp in milliseconds |
signature | Yes | Signature object generated for the request |
{
"action": {
"type": "cWithdraw",
"hyperliquidChain": "Mainnet",
"signatureChainId": "0xa4b1",
"wei": 1000000000000000000,
"nonce": 1763068800000
},
"nonce": 1763068800000,
"signature": { /* generated by the Hyperliquid SDK */ }
}
The expected successful response is:
Like what you're reading? Try it yourself โ this link supports ChartedTrader at no cost to you.
Create a Hyperliquid account โ
{"status":"ok","response":{"type":"default"}}
How long the unstaking wait is
The documentation states that transfers from staking to the spot account go through a 7-day unstaking queue. The cWithdraw documentation does not list a faster completion time for this action.
What cWithdraw is not
withdraw3is the USDC withdrawal flow to the bridge. The documentation notes a $1 withdrawal fee and approximately 5 minutes to finalize at the time of writing.tokenDelegateis for delegating or undelegating stake to or from a validator. Delegations to a particular validator have a 1-day lockup duration.usdClassTransfermoves USDC between the spot and perp accounts.
withdraw3 flow, and HLP vs User Vaults vs HYPE Staking covers broader staking lockup context.
This article includes a Hyperliquid referral link; we may receive a referral reward if you sign up through it. Create a Hyperliquid account.
Continue with Hyperliquid
Browse the Hyperliquid guide hub for the complete user journey.