NFT minting
createnft
Mint a new NFT.
Basic Information
Property | Detail |
---|---|
URL |
|
Method | POST |
Request parameter
Parameter | Type | Required | Detail |
---|---|---|---|
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) |
Blockchains that can be specified in the blockchain
parameter
blockchain
parameterPlease specify the name of the network item on the Supported blockchain page.
The blockchain specified in the blockchain
parameter must match the blockchain in the collection (contract_address
).
metadata
Define NFT metadata. Items that require file upload are specified in file_fields
.
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 |
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
file_fields
is an array of key
, url
pairs.
Parameter | Type | Required | Detail |
---|---|---|---|
key | str | Yes | Metadata key |
url | str | Yes | URL of the file to upload |
attribute
attribute
is an array of tag
,value
pairs.
Parameter | Type | Required | Detail |
---|---|---|---|
tag | str | Yes | Property Tags |
value | str | Yes | Property Value |
The file specified in the URL is uploaded to IPFS or other storage.
Sample requests
Example of successful response
Example of response in case of failure(status code 400)
Last updated