一键导入
gdex-hl-referral
HyperLiquid referral info and reward claims — distinct from the HL copy-trading referral flows
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
HyperLiquid referral info and reward claims — distinct from the HL copy-trading referral flows
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
HyperLiquid perpetual futures — open/close positions, set leverage, place market and limit orders with TP/SL, and manage open orders
CSS theming system for GDEX trading UIs — dark/light modes, trading colors, responsive breakpoints, and Tailwind CSS configuration
Troubleshoot GDEX SDK errors — error codes, encryption debugging, chain-specific quirks, HL gotchas, and copy trade pitfalls
Start here — GDEX overview, architecture, supported chains, available skills, and quickstart for cross-chain DeFi trading via managed-custody wallets
HyperLiquid HIP-3 outcome / event markets — list markets, place outcome orders, and manage outcome positions
Deposit and withdraw USDC to/from HyperLiquid for perpetual futures trading — constraints, amounts, and managed-custody flow
| name | gdex-hl-referral |
| description | HyperLiquid referral info and reward claims — distinct from the HL copy-trading referral flows |
Inspect a wallet's HyperLiquid referral status and submit claims for accrued
rewards. This is the user-side HL referral flow exposed under
/v1/hl_ref/* — distinct from the copy-trading top-traders referral
flow under /v1/hl/top_traders_by_pnl and from the builder referral under
/v1/hl/builder_referral.
@gdexsdk/gdex-skill installedcomputedData payload built by the caller using
the standard managed-custody encrypted-payload contract (claim ABI lives
in src/api/services/ServiceHlReferral.ts of the backend)| Method | Path | Purpose |
|---|---|---|
GET | /v1/hl_ref/info | Referral info (earned, eligibility, code) |
POST | /v1/hl_ref/request_claim | Submit a reward claim |
import { GdexSkill } from '@gdexsdk/gdex-skill';
const skill = new GdexSkill();
skill.loginWithApiKey(process.env.GDEX_API_KEY!);
const info = await skill.getHlReferralInfo({ userAddress: '0xWallet' });
// Claim rewards (caller pre-builds computedData)
const result = await skill.requestHlReferralClaim({ computedData });
requestId to poll via
/v1/trade-status/:requestId when the claim is processed asynchronously.