ERC721 NFT Tokens
Last updated
Last updated
POST
https://api.nfty.dev/v1/nfts
This endpoint mints a new NFT from the given hosted ERC721 Collection to a destination wallet address. The address can be an NFT Wallet that you created using the APIs or any external address/wallet that supports ERC721 NFTs. NFTYverse will handle uploading and hosting all the metadata and optionally the images and media as well. This API should only be used on hosted ERC721 Collections. If you prefer to host the metadata yourself, you can create a "Self-Hosted" ERC721 Collection and use the "Self-Hosted" version of the API below.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
POST
https://api.nfty.dev/v1/nfts
This endpoint mints a new NFT from the given "Self-Hosted" ERC721 Collection to a destination wallet address. The address can be an NFT Wallet that you created using the APIs or any external address/wallet that supports ERC721 NFTs. "Self-Hosted" means that you will be hosting the metadata and optionally the media yourself. This API should only be used on "Self-Hosted" ERC721 Collections. If you prefer to have NFTYverse handle and host the metadata, please create a hosted ERC721 Collection and check out the regular hosted API above.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Authorization
string
Your authorization token
collection_address
string
The address of the collection you created using the Create NFT Collection API.
to_address
string
The destination address for the newly minted NFT. It can be an NFT Wallet or any external address that supports ERC721 NFTs.
image
string
NFT metadata as defined here: https://docs.opensea.io/docs/metadata-standards
external_url
string
NFT metadata as defined here: https://docs.opensea.io/docs/metadata-standards
description
string
NFT metadata as defined here: https://docs.opensea.io/docs/metadata-standards
Note: you can add the string {token_id}
into the description and it will be replaced by the token_id of this NFT token. This is useful if you want the description of the NFT to contain the token_id, such as "This is NFT #123" etc.
name
string
NFT metadata as defined here: https://docs.opensea.io/docs/metadata-standards
Note: you can add the string {token_id}
into the name and it will be replaced by the token_id of this NFT token. This is useful if you want the name of the NFT to contain the token_id, such as "NFT #123" etc.
attributes
array
NFT metadata as defined here: https://docs.opensea.io/docs/metadata-standards
background_color
string
NFT metadata as defined here: https://docs.opensea.io/docs/metadata-standards
animation_url
string
NFT metadata as defined here: https://docs.opensea.io/docs/metadata-standards
youtube_url
string
NFT metadata as defined here: https://docs.opensea.io/docs/metadata-standards
copy_media
boolean
Set this to true if you would like NFTYverse to copy and upload your image
and animation_url
media to IPFS and host it for you. Otherwise, set it to false and we will use the image
and animation_url
values directly. (You are choosing to continue hosting the media links yourself if this is set to false or omitted.)
unlockable_content
string
This optional string represents "unlockable content" that only the NFT token holder should be able to view. You can use it to create hidden text or links that are attached to this NFT, such as passwords or special access codes to your content - turning your NFT into a digital key and proof of ownership. The string is stored in the NFTYverse database off-chain. It is then returned by the API when listing NFT Wallet contents for the user who owns this NFT.
Authorization
string
Your authorization token
collection_address
string
The address of the collection you created using the Create NFT Collection API.
to_address
string
The destination address for the newly minted NFT. It can be an NFT Wallet or any external address that supports ERC721 NFTs.