# 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="../advanced/proposer" %}
[proposer](https://docs.mimir.global/advanced/proposer)
{% 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="https://1585620362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG5CxKRVSQ8LKGhGiJitb%2Fuploads%2FenVF2OXLqZr5wXpzZE8V%2Fimage.png?alt=media&#x26;token=5349bf69-93f5-42df-adfb-f2e85ede3ecc" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1585620362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG5CxKRVSQ8LKGhGiJitb%2Fuploads%2FBqw3E16z6LYigdWRHzyl%2Fimage.png?alt=media&#x26;token=565a37f2-bd35-49b5-b544-864b5784a8c8" alt="" width="375"><figcaption></figcaption></figure>

Uploaded transactions can be found.

<figure><img src="https://1585620362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG5CxKRVSQ8LKGhGiJitb%2Fuploads%2FzMOpqRmjkm0U7FBijues%2Fimage.png?alt=media&#x26;token=0b37fce1-678d-4de5-985d-9388aa58d7b6" 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="https://1585620362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG5CxKRVSQ8LKGhGiJitb%2Fuploads%2F6Z3vSmh8S9BIJKsVIYCc%2Fimage.png?alt=media&#x26;token=a00b487f-0ad8-4182-b82d-4cbfbc7b3a94" alt="" width="375"><figcaption></figcaption></figure>

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