# 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>
