perp
Perp Withdraw
Withdraw perp collateral.
Pass destination_chain_id (+ token) to land it in the agent's own wallet, or to_address to have Hyperliquid pay USDC on Arbitrum straight to an outside address.
post/v1/perp/withdraw
Request
- Base URLhttps://api.fereai.xyz
- URLhttps://api.fereai.xyz/v1/perp/withdraw
- Authnone declared
Query parameters
waitboolean
Block until task completes
timeoutinteger
Seconds to block when wait=true (max 90; the ~100s edge cuts longer waits — use wait=false + poll for longer).
Request body
Example request
{
"amount_usd": 25,
"to_address": "0x1111111111111111111111111111111111111111"
}Response
Successful Response
Example response
{
"notification_stream": "/v1/notifications/stream",
"poll_url": "/v1/tasks/d290f1ee-6c54-4b01-90e6-d701748f0851",
"status": "queued",
"task_id": "d290f1ee-6c54-4b01-90e6-d701748f0851"
}Changes
No recorded changes to this operation across all 1 revision of this API.