Hyperliquid
Perpetuals trading through Thirdfy provider actions. USDC on Base, Arbitrum, Polygon, or Ethereum credits perps. Orders use an off-chain API wallet signer.
Category: Trading
Hyperliquid perpetuals are exposed through the governed action catalog under provider hyperliquid. Orders are signed by an off-chain API wallet (venue signer), not by ERC-7710 Gator grants.
Credential model
| Layer | Model |
|---|---|
| Exchange orders | Hyperliquid API wallet / agent wallet (off-chain signer) |
| Perps funding | Native USDC on Base, Arbitrum, Polygon, or Ethereum. Status returns the next write. |
| EVM funding txs | May use Gator/ERC-7710 or agent_wallet for token movement |
| Reads | Query master or subaccount address. API-wallet addresses can return empty state. |
Discovery
| Surface | Example |
|---|---|
| MCP | getProviderActions { provider: "hyperliquid" } |
| CLI | thirdfy-agent actions with Hyperliquid provider filter |
Use it
Ask your agent:
Check the venue. Readiness reports funding, credentials, approvals and the blockers that stop an order.
Trimmed result from a real read on 2026-10-08, for a wallet with no Hyperliquid margin yet:
ready is true only when blockingReasons is empty. Fix each blocker before you place an order. setupStatus in the same reply carries the account value and warnings.
One read. The L2 book takes a perps symbol in coin:
Trimmed result from a real read on 2026-10-08:
What to check: levels[0] is bids and levels[1] is asks, best price first. px and sz are strings. time is in milliseconds; skip a stale book.
One write. A limit order on the perps book:
This places a real order with real funds. Run getVenueReadiness first and confirm with the wallet owner.
isBuy: true opens or adds to a long. size is in contracts and limitPx in USD. orderType is limit or market. Run thirdfy-agent preflight with the same flags to check the params before you send it.
Readiness checklist
- Trading wallet holds at least 5 USDC on a supported source chain, or perps margin is already funded.
- Onboarding complete (
complete_hyperliquid_onboardingor setup/status actions). FollownextActionfromget_hyperliquid_funding_status. When that write isdeposit_hyperliquid_cctp, passsourceChainId(no default) and quote first withquote_hyperliquid_cctp_deposit. - Builder fee approval only when builder monetization is active. Unfunded builder config returns
HYPERLIQUID_BUILDER_WALLET_UNFUNDEDand orders proceed without builder attachment.- Active monetization:
get_hyperliquid_onboarding_planincludesapprove_hyperliquid_builder_fee, and setup status showsbuilder.enabled: true. An order that fails withHYPERLIQUID_BUILDER_APPROVAL_REQUIREDneeds that approval from the main wallet. - Unfunded builder treasury:
get_hyperliquid_setup_statuscan returnready: truewith the warning,get_hyperliquid_builder_fee_statusreturnsmonetizationEnabled: false, andplace_hyperliquid_perps_orderneeds no builder approval. - Re-run
get_hyperliquid_setup_statusafter funding, API wallet approval and any builder step.
- Active monetization:
- Preflight and
delegationStatus(oragentWalletBootstrap) before live writes. - Amount and coin allowlists enforced by venue policy (
allowedCoins, max notional).
Execution lanes
runMode | Use |
|---|---|
agent_wallet | Solo agent-owned wallet for setup and perps signing |
thirdfy / hybrid | Delegated user capital with active binding and venue policy |
MetaMask/Gator delegation protects EVM calldata paths. It is not the signing authority for Hyperliquid order / cancel calls.
MCP sequence (summary)
getProviderActions { provider: "hyperliquid" }- Discovery / L2 / user state reads
get_hyperliquid_funding_status, then the write named bynextAction- Orders via
walletExecuteorexecuteIntentwith chosenrunMode
See Thirdfy MCP for the full recommended sequence.
Hosted deploy
Hyperliquid perps templates are on EarnOrg (earnorg.com). EarnOrg hosts. Thirdfy governs execution.