Skip to main content
All topics

Hyperliquid auto USDC spot→perp

Place a perp BUY without manually moving margin — Smartbull handles the transfer silently.

What it does

When you place a market BUY on a Hyperliquid perp and your perp margin is short, Smartbull automatically transfers USDC from your spot wallet to perp margin before the order is sent.

The transfer uses Hyperliquid's free EIP-712 usdClassTransfer — no fee, no on-chain transaction, signed by your agent key. Throttled to 60s per address, minimum $1, capped at the order's required margin.

Result: no failed orders due to insufficient margin, no manual UI dance, no fee leakage.

What stays manual

Only USDC perp-margin top-ups are automated. Spot UBTC / UETH / other asset movements remain manual — we deliberately do not auto-trade your spot holdings.

The transfer is silent (no toast, no banner) because it's an infrastructure step, not a user action. You'll see the perp position appear normally; the spot USDC just decreased by the margin amount.

Safety

  • Throttled — at most one transfer per 60 seconds per address
  • Bounded — never transfers more than the order requires
  • Idempotent — if the order fails after transfer, the funds stay on perp margin (you can move them back manually)
  • Audited — every transfer logged in hyperliquid_rebalance_runs

Want the smoothest perp experience? Connect Hyperliquid on /settings → Vault (Pro tier and above).