← Back to directory

Prepare a USDC-only withdrawal to the signing account; other assets return 400. ...

https://chainhilt.ai/api/v1/perp/hyperliquid/withdraw/preview

Overview

Prepare a USDC-only withdrawal to the signing account; other assets return 400. Unified account and portfolio margin accounts must use spot; manual mode may use spot or perp. Arbitrum receives the amount less a fee, and gas comes from the balance left, so the whole balance cannot be withdrawn. Sign the typedData and submit it unchanged to submitPath. Treat spot and perp as one balance only when the account abstraction mode is "unifiedAccount".

Protocol x402 (POST)
Price $0.0010
Payment Asset USD Coin
Payment Network eip155:8453
Category crypto/wallet
Provider chainhilt-x402
Source bazaar
Indexed 2026-11-02 18:57:25

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "accountAddress": "0x1111111111111111111111111111111111111111", "amount": "10", "destinationChainName": "Arbitrum", "nonce": 1710000000000, "sourceDex": "", "token": "USDC" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "response": { "accountAddress": "0x1111111111111111111111111111111111111111", "actions": [ { "chainId": 42161, "data": { "action": { "addressEncoding": "hex", "amount": "10", "data": "0x", "destinationChainId": 3, "destinationRecipient": "0x1111111111111111111111111111111111111111", "gasLimit": 200000, "hyperliquidChain": "Mainnet", "nonce": 1710000000000, "signatureChainId": "0xa4b1", "sourceDex": "", "token": "USDC", "type": "sendToEvmWithData" }, "nonce": 1710000000000, "typedData": { "domain": { "chainId": 42161, "name": "HyperliquidSignTransaction", "verifyingContract": "0x0000000000000000000000000000000000000000", "version": "1" }, "message": { "addressEncoding": "hex", "amount": "10", "data": "0x", "destinationChainId": 3, "destinationRecipient": "0x1111111111111111111111111111111111111111", "gasLimit": 200000, "hyperliquidChain": "Mainnet", "nonce": 1710000000000, "signatureChainId": "0xa4b1", "sourceDex": "", "token": "USDC", "type": "sendToEvmWithData" }, "primaryType": "HyperliquidTransaction:SendToEvmWithData", "types": { "EIP712Domain": [ { "name": "name", "type": "string" }, { "name": "version", "type": "string" }, { "name": "chainId", "type": "uint256" }, { "name": "verifyingContract", "type": "address" } ], "HyperliquidTransaction:SendToEvmWithData": [ { "name": "hyperliquidChain", "type": "string" }, { "name": "token", "type": "string" }, { "name": "amount", "type": "string" }, { "name": "sourceDex", "type": "string" }, { "name": "destinationRecipient", "type": "string" }, { "name": "addressEncoding", "type": "string" }, { "name": "destinationChainId", "type": "uint32" }, { "name": "gasLimit", "type": "uint64" }, { "name": "data", "type": "bytes" }, { "name": "nonce", "type": "uint64" } ] } } }, "protocol": "hyperliquid", "submitPath": "/perp/hyperliquid/withdraw/execute", "type": "signature" } ], "errors": [], "warnings": [] } }, "type": "json" }