POST
curl --request POST \
  --url https://mainnet.helius-rpc.com/ \
  --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"
  }
}

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

Response

200
application/json
Successfully minted compressed Solana NFT

The response is of type object.