# Pending Unstaking

## Get pending unstaking withdrawals

> Returns upcoming unstaking withdrawals that have not yet been finalized. Use next\_cursor from the response to fetch the next page of results.

```json
{"openapi":"3.1.0","info":{"title":"BlockLiquidity API Service","version":"1.0.0"},"servers":[{"url":"https://data.blockliquidity.xyz"}],"security":[{"HTTPBearer":[]}],"components":{"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}},"schemas":{"PendingUnstakingResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/PendingUnstakingEntry"},"type":"array","title":"Data"},"pagination":{"$ref":"#/components/schemas/StakingPaginationInfo"}},"type":"object","required":["data","pagination"],"title":"PendingUnstakingResponse"},"PendingUnstakingEntry":{"properties":{"timestamp":{"type":"integer","title":"Timestamp"},"address":{"type":"string","title":"Address"},"hash":{"type":"string","title":"Hash"},"amount":{"type":"number","title":"Amount"}},"type":"object","required":["timestamp","address","hash","amount"],"title":"PendingUnstakingEntry"},"StakingPaginationInfo":{"properties":{"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"},"limit":{"type":"integer","title":"Limit"}},"type":"object","required":["has_more","limit"],"title":"StakingPaginationInfo"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}},"paths":{"/v1/staking/unstaking/pending":{"get":{"tags":["Staking Data"],"summary":"Get pending unstaking withdrawals","description":"Returns upcoming unstaking withdrawals that have not yet been finalized. Use next_cursor from the response to fetch the next page of results.","operationId":"get_pending_unstaking_v1_staking_unstaking_pending_get","parameters":[{"name":"sort_by","in":"query","required":false,"schema":{"type":"string","pattern":"^(timestamp|amount)$","description":"Field to sort by: timestamp or amount","default":"timestamp","title":"Sort By"},"description":"Field to sort by: timestamp or amount"},{"name":"sort_order","in":"query","required":false,"schema":{"type":"string","pattern":"^(asc|desc)$","description":"Sort direction: asc or desc","default":"asc","title":"Sort Order"},"description":"Sort direction: asc or desc"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"Number of results to return (1–1000)","default":100,"title":"Limit"},"description":"Number of results to return (1–1000)"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Pagination cursor from previous response","title":"Cursor"},"description":"Pagination cursor from previous response"},{"name":"address","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by wallet address","title":"Address"},"description":"Filter by wallet address"},{"name":"min_amount","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"description":"Filter: minimum unstaking amount","title":"Min Amount"},"description":"Filter: minimum unstaking amount"},{"name":"max_amount","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"description":"Filter: maximum unstaking amount","title":"Max Amount"},"description":"Filter: maximum unstaking amount"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PendingUnstakingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}}}
```


---

# 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://hyperliquid-ohlc.gitbook.io/api-docs/rest-api/staking/pending-unstaking.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.
