# Hyperliquid

### Staking

Staking on Hyperliquid involves moving HYPE from your spot balance to staking, delegating it to the Luganodes validator, and signing the unsigned transaction returned by the API. Once broadcast and confirmed, your HYPE is staked and begins earning rewards

### Authentication

All requests require an API key in the header:

```
x-api-key: your-api-key-here
```

## Hyperliquid Staking Guide

### Staking (Transfer + Delegate)

1. Call **Transfer API** with `{ amount, delegatorAddress }` to move HYPE from your Spot balance into your Staking balance.
2. Call **Delegate API** with `{ amount, delegatorAddress }` to delegate the staking balance to the Luganodes validator (a 1-day lock applies).

***

### Unstaking (Undelegate + Withdraw)

1. Call **Undelegate API** with `{ amount, delegatorAddress }` to undelegate tokens after the lock period has passed. This starts the 7-day unbonding period.
2. After 7 days, call **Withdraw API** with `{ amount, delegatorAddress }` to move your tokens back from Staking balance into Spot balance.

***

### Checking Balances

* Call **Balance API** with `delegatorAddress` to view your Spot balance, Staking balance, Delegated balance, Pending withdrawals, and delegation status (`Active`, `Locked`, `Undelegating`).

***

💡 **Note**: Each call returns an unsigned transaction. You must sign it client-side with the user’s wallet and broadcast it using the **Broadcast API**.

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.luganodes.com/apis/staking-apis-v2/hyperliquid.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
