NFT granted(mint + transfer)
createnfttrans
Mint a new NFT and transfer it at the same time.
Basic Information
URL
/api/v1/createnfttrans
Method
POST
Request parameter
contract_address
str
yes
Address of collection(contract)
blockchain
str
yes
Blockchain for minting NFTs
receiver_wallet_address
str
Yes
NFT forwarding destination owner
metadata
object
yes
NFT metadata
Blockchains that can be specified in the blockchain
parameter
blockchain
parameterPlease specify the name of the network item on the Supported blockchain page.
solana
and solana-testnet
are not supported.
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
.
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.
key
str
Yes
Metadata key
url
str
Yes
URL of the file to upload
attribute
attribute
is an array of tag
,value
pairs.
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