Prerequisites
- Valid API key with token minting permissions
- Target wallet address for token assignment
- Token metadata (for NFTs) or amount (for fungible tokens)
Request
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
walletAddress | string | Yes | Destination wallet address for the token |
tokenType | string | Yes | Type of token: “FUNGIBLE” or “NFT” |
amount | number | Conditional | Required for fungible tokens. Number of tokens to mint |
metadata | object | Conditional | Required for NFTs. Token metadata object |
Metadata Object (for NFTs)
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Name of the NFT |
description | string | No | Description of the NFT |
image | string | No | URL to the NFT image |
attributes | array | No | Array of trait objects |
Response
Examples
Mint Fungible Tokens
Mint NFT
Error Responses
| Status Code | Description |
|---|---|
400 | Invalid request data or missing required fields |
401 | Unauthorized - invalid API key |
403 | Insufficient permissions for token minting |
404 | Wallet address not found |
500 | Internal server error |