info (legalCheck)
Hyperliquid node API
legalCheck | Hyperliquid info
The info endpoint with type: “legalCheck” returns a user’s legal/compliance status — accepted terms, trading permission, and restrictions.
POST
info (legalCheck)
You can only use this endpoint on the official Hyperliquid public API. It is not available through Chainstack, as the open-source node implementation does not support it yet. See Hyperliquid methods for the full availability breakdown.
info endpoint with type: "legalCheck" returns a user’s legal and compliance status — whether they have accepted the terms, whether they are allowed to trade, and any restrictions that apply.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
Request body
type(string, required) — The request type. Must be"legalCheck".user(string, required) — Address in 42-character hexadecimal format.
Response
Returns a legal-status object:acceptedTerms(boolean) — Whether the user has accepted the terms.userAllowed(boolean) — Whether the user is allowed to trade.restrictions(string) — A restriction code applied to the user, if any.
Example request
Example response
Use cases
Theinfo endpoint with type: "legalCheck" is useful for:
- Compliance gating before allowing trading actions
- Surfacing onboarding steps (for example, accepting terms)
- Displaying any restrictions that apply to a user
Body
application/json
Last modified on June 24, 2026