ERC721 NFT Tokens
post
https://api.nfty.dev
/v1/nfts
Mint a new ERC721 NFT Token

Example Request:

1
curl --request POST \
2
--url https://api.nfty.dev/v1/nfts \
3
--header 'Content-Type: application/json' \
4
--header 'authorization: Bearer c4Vftx4kGiFYqpjM/3p4o5pgkmuthLWUNpXNlrig8EjlnSTeVgde4kEBdI1Uc1RFqWJBBRxkOmZ/QcHQXdQNjQ==' \
5
--data '{
6
"collection_address": "0x90de09166cd8ae30dc2bfe25be0f5bd486851cd7",
7
"to_address": "0x6d5f584f957858be82562a3b8b7b6268c4055f15",
8
"name": "My NFT",
9
"image": "https://domain.com/nfts/mynft.png",
10
"description": "A collectible NFT.",
11
"attributes": [
12
{
13
"trait_type": "Eyes",
14
"value": "Big"
15
},
16
{
17
"trait_type": "Level",
18
"value": 5
19
},
20
{
21
"display_type": "number",
22
"trait_type": "Generation",
23
"value": 2
24
}
25
],
26
"copy_media": true
27
}'
28
Copied!

Example Response:

1
{"request_id":"12c81219efed57b38068fc3fe3fcdbb9e4f41041f5d1fe8ea8b830dd3bd19586"}
Copied!
post
https://api.nfty.dev
/v1/nfts
Mint a new ERC721 NFT Token (Self-Hosted)

Example Request:

1
curl --request POST \
2
--url https://api.nfty.dev/v1/nfts \
3
--header 'Content-Type: application/json' \
4
--header 'authorization: Bearer c4Vftx4kGiFYqpjM/3p4o5pgkmuthLWUNpXNlrig8EjlnSTeVgde4kEBdI1Uc1RFqWJBBRxkOmZ/QcHQXdQNjQ==' \
5
--data '{
6
"collection_address": "0x90de09166cd8ae30dc2bfe25be0f5bd486851cd7",
7
"to_address": "0x6d5f584f957858be82562a3b8b7b6268c4055f15"
8
}'
9
Copied!

Example Response:

1
{"request_id":"12c81219efed57b38068fc3fe3fcdbb9e4f41041f5d1fe8ea8b830dd3bd19586"}
Copied!