> For the complete documentation index, see [llms.txt](https://docs.luganodes.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.luganodes.com/apis/staking-apis-v2/hyperliquid.md).

# 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**.

***
