NFT minting
Last updated
Last updated
Mint a new NFT.
Property | Detail |
---|
Parameter | Type | Required | Detail |
---|
blockchain
parameterPlease specify the name of the network item on the page.
The blockchain specified in the blockchain
parameter must match the blockchain in the collection (contract_address
).
Define NFT metadata. Items that require file upload are specified in file_fields
.
The number of items that can be set in the metadata is 10 in total, including title
, description
, each file_fields
, and optional items.
file_fields
is an array of key
, url
pairs.
attribute
is an array of tag
,value
pairs.
The file specified in the URL is uploaded to IPFS or other storage.
Parameter | Type | Required | Detail |
---|
Parameter | Type | Required | Detail |
---|
Parameter | Type | Required | Detail |
---|
title | str | Yes | NFT title |
description | str | Yes | NFT description |
file_fields | list | Yes | Metadata items that require file upload, registered as key/url pairs (see below). Maximum of 8 items. |
attribute | list | No | Properties to add to NFT |
Optional item | str | No | Other metadata |
key | str | Yes | Metadata key |
url | str | Yes | URL of the file to upload |
tag | str | Yes | Property Tags |
value | str | Yes | Property Value |
URL |
|
Method | POST |
contract_address | str | yes | Address of collection (contract) |
blockchain | str | yes | Blockchain for minting NFTs |
receiver_wallet_address | str | yes | Owner of the NFT to be mint |
metadata | object | yes | NFT metadata (see below) |