> For the complete documentation index, see [llms.txt](https://docs.mimir.global/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mimir.global/developer/batch-api.md).

# Batch API

If you frequently need to assemble and send transactions and have some development experience, **Mimir** allows you to use the **API** to construct transactions. You can then **restore** the assembled transactions into a **Batch** on the Mimir platform and proceed with execution from there.

## 1. API

<https://hackmd.io/mVU890iUT0iktpGqeBc_7w?view>

**Who can use?**

All members and all proposers! If you want to reduce the risk of a Member's private key being compromised, you can use a new account as a Proposer to utilize the Batch API functionality.

{% content-ref url="/pages/Om6nPEY2SB3THKMvjJIL" %}
[Proposer](/advanced/proposer.md)
{% endcontent-ref %}

## 2. Restore Transactions

After submitting the transaction via API, log into the multisig account on Mimir and locate the **Batch** button.

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

After clicking it, you will find the **Restore** button.

<figure><img src="/files/0n6ANUA5wYAnWRlTkWIW" alt="" width="375"><figcaption></figcaption></figure>

Uploaded transactions can be found.

<figure><img src="/files/uYssdPsPGh8Q24kbMtMD" alt="" width="375"><figcaption></figcaption></figure>

You can restore these transactions.&#x20;

{% hint style="info" %}
But you should notice, all these transactions will be delete after been submitted on chain.
{% endhint %}

<figure><img src="/files/nvAzyKcoGLL03p1OJ1Go" alt="" width="375"><figcaption></figcaption></figure>

You can found all these transactions in Batch. You can submit all of them together.


---

# 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.mimir.global/developer/batch-api.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.
