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