Prepare a Spot<->Perps transfer
Authorizations
apikeystringRequired
API key for authentication
Body
USDC transfer to prepare between a wallet's spot and perpetuals balances.
wallet_addressstringRequiredExample:
Wallet address on Hyperliquid
0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045amountnumberRequiredExample:
USDC amount as a decimal number of USDC (not base units)
100.5to_perpbooleanRequiredExample:
True moves spot → perpetuals (making the funds usable as margin), false moves perpetuals → spot
trueResponses
200
Successful Response
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
422
Unprocessable Content
application/json
429
Too Many Requests
application/json
500
Internal Server Error
application/json
502
Bad Gateway
application/json
503
Service Unavailable
application/json
504
Gateway Timeout
application/json
post/api/v1/perp/transfer
Last updated
Was this helpful?