Skip to main content
POST
Mint Compressed Solana NFT
curl --request POST \
  --url 'https://mainnet.helius-rpc.com/?api-key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "id": "<string>",
  "method": "mintCompressedNft",
  "params": {
    "name": "Exodia the Forbidden One",
    "symbol": "ETFO",
    "description": "Exodia the Forbidden One is a powerful, legendary creature.",
    "owner": "DCQnfUH6mHA333mzkU22b4hMvyqcejUBociodq8bB5HF",
    "delegate": "DCQnfUH6mHA333mzkU22b4hMvyqcejUBociodq8bB5HF",
    "collection": "<string>",
    "uri": "<string>",
    "attributes": [
      {
        "trait_type": "Rarity",
        "value": "Mythical"
      }
    ],
    "imageUrl": "https://cdna.artstation.com/p/assets/images/images/052/118/830/large/julie-almoneda-03.jpg?1658992401",
    "externalUrl": "https://www.yugioh-card.com/en/",
    "sellerFeeBasisPoints": 5000,
    "creators": [
      {
        "address": "DCQnfUH6mHA333mzkU22b4hMvyqcejUBociodq8bB5HF",
        "share": 100
      }
    ],
    "confirmTransaction": true
  }
}
'
{
  "jsonrpc": "2.0",
  "id": "<string>",
  "result": {
    "signature": "4FRxjAvHLGCEUXJqkucG7SdKrrmAeqjfTQKmhMZWvqGvkPGvWeZXY8Vfj8oxXtGnf7q3n4n8XHVDsExkpCtAEdKj",
    "minted": true,
    "assetId": "6sx2ChPvudKVt4Gc6qr3X4FFwtM4vVa6uZMmQHn5udQE"
  }
}
Deprecated: This endpoint is deprecated. For new projects, use the ZK Compression API which provides improved compression technology and lower costs.

Request Parameters

name
string
required
The name of the compressed Solana NFT to be minted, displayed on marketplaces and wallets.
symbol
string
required
The symbol of the compressed Solana NFT collection, typically a short identifier for the project.
description
string
required
Detailed description of the compressed NFT for marketplaces and indexers.
owner
string
required
The Solana wallet address that will receive and own the compressed NFT after minting is complete.
delegate
string
Optional delegate address for the compressed NFT with usage permissions.
collection
string
Collection address to add this compressed NFT to for grouping, discovery and verification on Solana marketplaces.
uri
string
The URI pointing to the off-chain JSON metadata for the compressed NFT, typically hosted on Arweave or IPFS.
attributes
array
Array of traits and attributes that define the compressed NFT’s characteristics.
imageUrl
string
Direct URL to the image that represents the compressed NFT on marketplaces.
externalUrl
string
Optional website URL related to the compressed NFT or collection.
sellerFeeBasisPoints
number
Royalty percentage for creator earnings on secondary sales in basis points (100 = 1%, 1000 = 10%) on Solana marketplaces.
creators
array
Array of creator addresses that contributed to the compressed NFT with royalty shares.
confirmTransaction
boolean
If true, the API will wait for on-chain confirmation before responding.

Authorizations

api-key
string
query
required

Query Parameters

api-key
string
required

Your Helius API key for authentication and access to compressed NFT minting.

Example:

"string"

Body

application/json
jsonrpc
enum<string>
required

The version of the JSON-RPC protocol.

Available options:
2.0
id
string
required

An ID to identify the request.

method
enum<string>
required

The name of the RPC method to invoke.

Available options:
mintCompressedNft
params
object
required

Response

Successfully minted compressed Solana NFT

jsonrpc
enum<string>
required

The version of the JSON-RPC protocol.

Available options:
2.0
id
string
required

The ID used to identify the request.

result
object
required