> For the complete documentation index, see [llms.txt](https://dev.stagemeta.world/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.stagemeta.world/reference/blockchain-smart-contract/check-minttranfer-method.md).

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