Create NFT collections (ERC-721, ERC-1155), mint tokens, manage token operations, and link existing contracts.
Collection Methods
createCollection()
Create a new NFT collection (ERC-721 or ERC-1155). Returns a workflow ID for async processing.
Signature:
Parameters:
| Parameter | Type | Required | Description |
|---|
request.addressId | string | Yes | Address ID for deployment |
request.type | 'NON_FUNGIBLE_TOKEN' | 'SEMI_FUNGIBLE_TOKEN' | Yes | Collection type (ERC-721 or ERC-1155) |
request.clientShare | string | Yes | Client share for signing |
request.createParams | object | Yes | Constructor parameters |
request.createParams.initializeParams | array | Yes | Array of exactly 5 constructor parameter objects [{ name, type, value }, ...] |
request.network | string | No | Blockchain network |
request.displayName | string | No | Collection display name |
request.useGasless | boolean | No | Whether to use gasless transactions |
request.fee | string | No | Custom fee amount |
request.feeLevel | string | No | Transaction fee level |
request.description | string | No | Collection description |
Example Request:
Example Response:
Response Fields:
| Field | Type | Required | Description |
|---|
data.workflowResult.workflowId | string | Yes | Workflow ID for tracking collection creation |
data.workflowResult.operationId | string | Yes | Operation ID (e.g. deploymentId) |
data.workflowResult.status | 'started' | 'already_running' | Yes | Workflow status |
data.workflowResult.message | string | Yes | Human-readable status message |
getCollections()
Get a paginated list of collections.
Signature:
Example:
getCollectionById()
Get details for a specific collection.
Signature:
Example:
deleteCollection()
Delete a collection.
Signature:
Example:
Token Methods
mintToken()
Mint a token in a collection. Returns a workflow ID for async processing.
Signature:
Parameters:
| Parameter | Type | Required | Description |
|---|
id | string | Yes | Collection ID |
request.addressId | string | Yes | Address ID for signing |
request.clientShare | string | Yes | Client share |
request.to | string | Yes | Recipient address |
request.metadata | object | No | Token metadata (JSON object) |
request.useGasless | boolean | No | Whether to use gasless transactions |
request.fee | string | No | Custom fee amount |
request.feeLevel | string | No | Transaction fee level |
Example Request:
Example Response:
Response Fields:
| Field | Type | Required | Description |
|---|
data.workflowResult.workflowId | string | Yes | Workflow ID for tracking token minting |
data.workflowResult.operationId | string | Yes | Operation ID (e.g. mintId) |
data.workflowResult.status | 'started' | 'already_running' | Yes | Workflow status |
data.workflowResult.message | string | Yes | Human-readable status message |
burnToken()
Burn a token from a collection. Returns a workflow ID for async processing.
Signature:
Parameters:
| Parameter | Type | Required | Description |
|---|
id | string | Yes | Collection ID |
request.addressId | string | Yes | Address ID for signing |
request.clientShare | string | Yes | Client share |
request.tokenId | string | Yes | Token ID to burn |
request.useGasless | boolean | No | Whether to use gasless transactions |
request.fee | string | No | Custom fee amount |
request.feeLevel | string | No | Transaction fee level |
Example Request:
Example Response:
Response Fields:
| Field | Type | Required | Description |
|---|
data.workflowResult.workflowId | string | Yes | Workflow ID for tracking token burning |
data.workflowResult.operationId | string | Yes | Operation ID (e.g. burnId) |
data.workflowResult.status | 'started' | 'already_running' | Yes | Workflow status |
data.workflowResult.message | string | Yes | Human-readable status message |
getCollectionTokens()
Get all tokens in a collection.
Signature:
Example:
getCollectionTokenDetails()
Get details for a specific token.
Signature:
Example:
Token Management Methods
issueNewToken()
Start the issue-token workflow from a deployed contract template. Returns a workflow ID for async processing — the token is not ready until the workflow completes.
Signature:
Parameters:
| Parameter | Type | Required | Description |
|---|
request.networkId | string | Yes | Network ID (from getNetworks()) |
request.addressId | string | Yes | Address ID for signing |
request.clientShare | string | Yes | Client share for signing |
request.createParams | object | Yes | Constructor parameters |
request.deploymentId | string | Yes | Deployment ID of the contract template |
request.displayName | string | Yes | Token display name |
request.useGasless | boolean | Yes | Whether to use gasless transactions |
request.fee | string | Yes | Custom fee amount |
request.feeLevel | 'LOW' | 'MEDIUM' | 'HIGH' | No | Transaction fee level |
Example Request:
Example Response:
Response Fields:
| Field | Type | Required | Description |
|---|
data.workflowResult.workflowId | string | Yes | Workflow ID for tracking token issuance |
data.workflowResult.operationId | string | Yes | Operation ID (token ID assigned to the issuance) |
data.workflowResult.status | 'started' | 'already_running' | Yes | Workflow status |
data.workflowResult.message | string | Yes | Human-readable status message |
The HTTP endpoint responds with 202 Accepted. If the underlying contract is still deploying, expect error code ERR-146 (“Contract deployment is still in progress.”) — wait for the contract deployment workflow to complete before retrying.
getTokens()
List issued tokens for the organization with pagination.
Signature:
Example:
getLinkedToken()
Get a linked token by its ID.
Signature:
Example:
linkContract()
Link an existing deployed contract to the organization for tokenization.
Signature:
Parameters:
| Parameter | Type | Required | Description |
|---|
request.networkId | string | Yes | Network ID (from getNetworks()) |
request.contractAddress | string | Yes | Contract address to link |
request.type | string | No | Token type |
request.refId | string | No | External reference ID |
request.displayName | string | No | Display name |
Example:
unlinkToken()
Unlink a token from the organization.
Signature:
Example:
Complete Example