# Check mintTranfer Method

The `checkMintTransfer()` is a `public` method that allows users to check whether the given TPA names are available for purchase or have already been minted. It takes two input parameters: `_names`, an array of `bytes32` representing the TPA names to be checked, and `_amounts`, an array of `uint32` representing the amount of TPAs to be checked.

```solidity
function checkMintTransfer(bytes32[] _names, uint32[] _amounts) public view returns(bool)
```

#### Input & Output

* `_names`: an array of `bytes32` representing the TPA names to be checked.
* `_amounts`: an array of `uint32` representing the amount of TPAs to be checked. The length of this array should be the same as the length of the `_names` array, and all elements should be set to 1.
* This function returns a boolean value indicating whether the given TPAs are available for purchase (`true`) or have already been minted (`false`).

#### Usage

&#x20;For example:

<pre class="language-typescript"><code class="lang-typescript"><strong>const result = await stageMetaContract.checkMintTransfer(
</strong><strong>  [
</strong><strong>    ethers.utils.formatBytes32String("aaa-000"),
</strong><strong>    ethers.utils.formatBytes32String("bbb-000")
</strong><strong>  ],
</strong><strong> [1, 1]);
</strong>console.log("check result:", result);
</code></pre>


---

# 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://dev.stagemeta.world/reference/blockchain-smart-contract/check-minttranfer-method.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.
