propose_hyperliquid_spot_order
Propose a Hyperliquid spot buy or sell on the same Hyperliquid account as perps. Buys spend the quote token (usually USDC), sells sell coins you hold. Give size (coins) or sizeUsd (dollars). size "all" sells everything free. Market orders cross the book by at most 1% and fill now or cancel. Minimum $10. Runs spot policy (no leverage, max trade size) and the wallet loss cap on buys. API keys cannot buy spot on an account a strategy runs (the cash would leave the perps account the strategy trades from); sells still work. Spot symbols: prefer the pair form (HYPE/USDC) or the wrapped name (UBTC, UETH); BTC maps to UBTC. Confirm with confirm_proposal. The key needs the propose_hyperliquid_spot_order grant.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"walletId": "<walletId>",
"symbol": "<symbol>",
"side": "<side>"
},
"name": "propose_hyperliquid_spot_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| size | No | Coin amount, or "all" to sell everything free | |
| symbol | Yes | HYPE, HYPE/USDC, @107, or a perp name like BTC (maps to UBTC/USDC) | |
| sizeUsd | No | Dollar amount (alternative to size) | |
| walletId | Yes | ||
| orderType | No | Default market | |
| limitPrice | No | Required for limit orders, in the quote token | |
| timeInForce | No | Limit only. Gtc stay open, Alo add to book only, Ioc fill now or cancel |