NFTs
Examples
Example configuration
{
"configuration_name": "NFTs for developer conference",
"description": "Configuration used to mint the personalised videos and images. Uses 'XPKit Wallet' from Phantom.",
"blockchain": "solana",
"blockchain_options": {
"wallet_auth": "private_key",
"private_key": "<redacted>",
"network": "mainnet-beta",
"grant_ownership_to_profile": false
}
}
Example mint request
curl --location --request POST 'https://nfts.emea.xpkit.net/api/nft/mint/' \
--header 'Authorization: Bearer <redacted>' \
--form 'nft=@"/path/to/file/bill_prize_winner.jpg"' \
--form 'nft_name="Bill wins first prize"' \
--form 'configuration_id="nfts-for-developer-conference"' \
--form 'profile_id="14e95b67-c928-48bd-b03d-9266c93e71f5"' \
--form 'experience_id="developer-conference-2022"' \
--form 'nft_metadata="{\"colour\": \"red\"}"' \
--form 'grant_ownership_to_profile="true"'