Mint an NFT
Minting an NFT publishes the NFT on the blockchain, allowing it to be tradable.
To mint an NFT, send a POST request to the /nft/<nft_collection_name>
endpoint, calling the :markMinted
method.
Mint an NFT from a collection.
GET
https://api.playfix.io/nft/<nft_item_name>:markMinted
Path Parameters
Name
Type
Description
nft_item_name*
String
The name of the NFT. This will start with a prefix of "nftitems/
", followed by a ULID.
Headers
Name
Type
Description
Authorization*
String
Bearer <your_access_token>
Request Body
Name
Type
Description
transactionHash*
String
The transaction hash of the minting transaction, automatically generated by MetaMask.
Example cURL API Call
Example Python API Call
You must connect to metamask to run this process.
Request Body
transactionHash
- The transaction hash of the minting transaction. This is automatically generated by MetaMask.
Response
Last updated