> For the complete documentation index, see [llms.txt](https://xchainjs.gitbook.io/xchainjs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xchainjs.gitbook.io/xchainjs/protocols/mayaprotocol/xchain-mayamidgard.md).

# xchain-mayamidgard

This section for the XChain Mayamidgard library elucidates the operational workflow and underlying mechanisms employed to facilitate interaction with the Mayamidgard blockchain network.

Mayachain midgard Module for XChainJS Clients

#### BASEURLS <a href="#baseurls" id="baseurls"></a>

* [Mayachain Midgard](https://midgard.mayachain.info/)

### Modules <a href="#modules" id="modules"></a>

* Mayachain Midgard module has been created using open API-generator-cli auto-generation reading from ["Midgard Swagger"](https://midgard.mayachain.info/v2/swagger.json)
* This library exposes all the Midgard api functions defined in the Swagger doc [Swagger json](https://midgard.mayachain.info/v2/swagger.json)

For more information about the API of the package, please click [here](https://docs.xchainjs.org/xchain-docs/xchain-mayamidgard/docs/index.html)


---

# 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:

```
GET https://xchainjs.gitbook.io/xchainjs/protocols/mayaprotocol/xchain-mayamidgard.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.
