---
title: "Mint tokens"
method: POST
path: "/tokenization/collections/{id}/tokens/mint"
tags: ["Tokenization"]
---

# Mint tokens

`POST /tokenization/collections/{id}/tokens/mint`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/tokenization/collections/{id}/tokens/mint`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/tokenization/collections/:id/tokens/mint/post.ts> (a function with typed inputs; its response is checked against the schema)

Mint tokens and upload metadata

## Path parameters

- `id` string, required

## Headers

- `Idempotency-Key` string

## Request body

- CollectionMintRequestDto
  - `vaultAccountId` string, required: The id of the vault account that initiates the mint function.
  - `to` string, required: The EVM address to mint to
  - `tokenId` string, required: The token id, recommended to have numerical format and in sequential order
  - `amount` string: For ERC721, amount is optional or should always be 1 and for ERC1155, amount should be 1 or greater
  - `metadataURI` string: URL of metadata uploaded, skip uploading to IPFS if this field is provided with any value
  - `metadata` CollectionTokenMetadataDto
    - `name` string, required: Token's name
    - `description` string, required: Token's description
    - `image` string: Token's image URL
    - `animation_url` string: Token's animation URL
    - `external_url` string: Token's external URL
    - `attributes` CollectionTokenMetadataAttributeDto[]: Token's metadata attributes
      - `trait_type` string, required: Name of the trait
      - `value` string, required: Value of the trait
      - `display_type` string: A field indicating how you would like trait to be displayed
  - `externalId` string: External id that can be used to identify the transaction in your system. The unique identifier of the transaction outside of Fireblocks with max length of 255 characters

## Response `202`

Tokens minted successfully

- CollectionMintResponseDto
  - `txId` string, required: Transaction Id for the mint operation

## Other responses

- `default`: Error Response

---

[API](https://skmtc.dev/fireblocks/apis/fireblocks-api.md) - [All operations](https://skmtc.dev/fireblocks/apis/fireblocks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireblocks/apis/fireblocks-api/revisions/4eba9965659a?raw)
