Tokenization

Mint tokens

Mint tokens and upload metadata

post/tokenization/collections/{id}/tokens/mint

Request

Path parameters

idstring required

The collection link id

Headers

Idempotency-Keystring

A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.

Request body

vaultAccountIdstring required

The id of the vault account that initiates the mint function.

tostring required

The EVM address to mint to

tokenIdstring required

The token id, recommended to have numerical format and in sequential order

amountstring

For ERC721, amount is optional or should always be 1 and for ERC1155, amount should be 1 or greater

metadataURIstring

URL of metadata uploaded, skip uploading to IPFS if this field is provided with any value

externalIdstring

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

Example request

{
  "vaultAccountId": "0",
  "to": "0x5503766D27d1ED4525f5053222E18b29C38eDdB2",
  "tokenId": "1",
  "amount": "1",
  "metadataURI": "ipfs://QmP4P6f7mDHzikhdwLBVSCxCPEgmjwcWSVBHbtSyfBYzBC",
  "metadata": {
    "name": "DigitalArtTokens",
    "description": "Digital representation of a piece of art",
    "image": "https://some_domain.com/image_filepath",
    "animation_url": "https://some_domain.com/gif_filepath",
    "external_url": "https://some_domain.com/blob_filepath",
    "attributes": [
      {
        "trait_type": "project_start",
        "display_type": "date"
      }
    ]
  },
  "externalId": "0192e4f5-924e-7bb9-8e5b-c748270feb38"
}

Response

Tokens minted successfully

txIdstring required

Transaction Id for the mint operation

Example response

{
  "txId": "fbfbfbfb-fbfb-fbfb-fbfb-fbfbfbfbfbfb"
}

Changes

No recorded changes to this operation across all 1 revision of this API.