# API for Native Games (Non-EVM)

## Overview

HyperPlay is a web3-native game launcher with wallet integration. The launcher acts as a proxy between the desktop game and wallet. Any game on HyperPlay can trigger a wallet interaction with a simple HTTP request.

* Game triggers a HTTP request
* HyperPlay launcher receives the request and forwards it to the player's wallet
* If the player connected via MetaMask Mobile or WalletConnect, there will be a mobile popup
* If the player connected via MetaMask Extension, there will be an in game overlay
* The player can decide to approve or reject the transaction

<figure><img src="/files/ikpbDyjBnRivXn2LaTYE" alt=""><figcaption></figcaption></figure>

## All JSON RPC Endpoints

The HyperPlay API references many of the calls found in MetaMask's and geth's JSON RPC endpoints. The next sections will provide some examples.

{% embed url="<https://metamask.github.io/api-playground/api-documentation>" %}

{% embed url="<https://ethereumbuilders.gitbooks.io/guide/content/en/ethereum_json_rpc.html>" %}

## Quick Start

{% embed url="<https://youtu.be/EpdoYwEm8qE>" %}


---

# 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.hyperplay.xyz/developer-docs/api-1.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.
