Collection Methods
createCollection()
Create a new NFT collection (ERC-721 or ERC-1155). Returns a workflow ID for async processing.
Signature:
| 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 |
| Field | Type | Required | Description |
|---|---|---|---|
data.workflowId | string | No | Workflow ID for tracking collection creation |
data.status | string | No | Workflow status |
getCollections()
Get a paginated list of collections.
Signature:
getCollectionById()
Get details for a specific collection.
Signature:
deleteCollection()
Delete a collection.
Signature:
Token Methods
mintToken()
Mint a token in a collection. Returns a workflow ID for async processing.
Signature:
| 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 |
| Field | Type | Required | Description |
|---|---|---|---|
data.mint.workflowId | string | No | Workflow ID for tracking token minting |
data.mint.status | string | No | Workflow status |
burnToken()
Burn a token from a collection. Returns a workflow ID for async processing.
Signature:
| 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 |
| Field | Type | Required | Description |
|---|---|---|---|
data.burn.workflowId | string | No | Workflow ID for tracking token burning |
data.burn.status | string | No | Workflow status |
getCollectionTokens()
Get all tokens in a collection.
Signature:
getCollectionTokenDetails()
Get details for a specific token.
Signature:
Token Management Methods
issueNewToken()
Issue a new token from a deployed contract template.
Signature:
| 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 |
getTokens()
List issued tokens for the organization with pagination.
Signature:
getLinkedToken()
Get a linked token by its ID.
Signature:
linkContract()
Link an existing deployed contract to the organization for tokenization.
Signature:
| 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 |