> For the complete documentation index, see [llms.txt](https://docs.xyo.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xyo.network/xyo-layer-one/xyo-layer-one-features/step-hash/step-hash-real-world-examples.md).

# Step Hash: Real-World Examples

### Patient Data Access on a Health Network

A decentralized health system uses XYO Layer One to store and validate hashed patient records—visit logs, prescriptions, and lab results—while keeping private data off-chain.

#### ❌ Traditional Blockchain

To retrieve a patient's historical medical visit from years ago, the system must scan block-by-block through the entire chain. This results in long wait times and high computational load.

#### ✅ With Step Hashes

Blocks are grouped into progressively larger segments, allowing the system to **leap directly** to the right data group and then quickly pinpoint the needed record.

* Data lookup time drops from minutes to milliseconds
* Efficient queries even across years of records
* Scalable access as patient history grows

### Legal File Anchoring and Verification

A law firm uses XYO to anchor document hashes on-chain for proof of existence and timestamping—such as contracts, patents, and digital signatures.

#### ❌ Traditional Blockchain

To verify when a file hash was first recorded, the firm must walk through each block until it finds the transaction—especially slow if the document was anchored years ago.

#### ✅ With Step Hashes

The firm’s verification tools can \*\*skip across grouped hashes\*\*, quickly narrowing down to the exact block where the timestamped document exists.

* Instant verification of on-chain presence
* Useful for audits, court validation, or client disputes
* No full-chain scan required


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.xyo.network/xyo-layer-one/xyo-layer-one-features/step-hash/step-hash-real-world-examples.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
