New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. Learn More
New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. Learn More
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"
}
}Your Helius API key for authentication and access to compressed NFT minting.
"string"
The version of the JSON-RPC protocol.
2.0 An ID to identify the request.
The name of the RPC method to invoke.
mintCompressedNft Show child attributes
The name of the compressed Solana NFT to be minted, displayed on marketplaces and wallets.
"Exodia the Forbidden One"
The symbol of the compressed Solana NFT collection, typically a short identifier for the project.
"ETFO"
Detailed description of the compressed NFT for marketplaces and indexers.
"Exodia the Forbidden One is a powerful, legendary creature."
The Solana wallet address that will receive and own the compressed NFT after minting is complete.
"DCQnfUH6mHA333mzkU22b4hMvyqcejUBociodq8bB5HF"
Optional delegate address for the compressed NFT with usage permissions.
"DCQnfUH6mHA333mzkU22b4hMvyqcejUBociodq8bB5HF"
Collection address to add this compressed NFT to for grouping, discovery and verification on Solana marketplaces.
The URI pointing to the off-chain JSON metadata for the compressed NFT, typically hosted on Arweave or IPFS.
Array of traits and attributes that define the compressed NFT's characteristics.
Direct URL to the image that represents the compressed NFT on marketplaces.
"https://cdna.artstation.com/p/assets/images/images/052/118/830/large/julie-almoneda-03.jpg?1658992401"
Optional website URL related to the compressed NFT or collection.
"https://www.yugioh-card.com/en/"
Royalty percentage for creator earnings on secondary sales in basis points (100 = 1%, 1000 = 10%) on Solana marketplaces.
5000
Array of creator addresses that contributed to the compressed NFT with royalty shares.
Show child attributes
Solana wallet address of the creator to receive royalties.
"DCQnfUH6mHA333mzkU22b4hMvyqcejUBociodq8bB5HF"
Percentage share of royalties allocated to this creator (sum must equal 100).
0 <= x <= 100100
If true, the API will wait for on-chain confirmation before responding.
Successfully minted compressed Solana NFT
The version of the JSON-RPC protocol.
2.0 The ID used to identify the request.
Show child attributes
The Solana blockchain transaction signature of the successful compressed NFT mint operation for verification.
"4FRxjAvHLGCEUXJqkucG7SdKrrmAeqjfTQKmhMZWvqGvkPGvWeZXY8Vfj8oxXtGnf7q3n4n8XHVDsExkpCtAEdKj"
Confirmation that the compressed NFT was successfully minted on Solana.
true
The unique Solana asset ID of the minted compressed NFT, used for querying with the Digital Asset Standard (DAS) API.
"6sx2ChPvudKVt4Gc6qr3X4FFwtM4vVa6uZMmQHn5udQE"
Was this page helpful?
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"
}
}