> 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/thorchain/xchain-midgard.md).

# xchain-midgard

This section for the XChain Midgard package provides insight into the operational workflow and mechanisms employed for interacting with the Midgard API and accessing blockchain data.

Midgard Module for XChainJS Clients

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

* [MIDGARD\_API\_9R\_URL](https://midgard.ninerealms.com/)
* [MIDGARD\_API\_TC\_URL](https://midgard.thorchain.info/)

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

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

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