- api:TON Documentation
- v1.Address
- v1.Nft
- v1.Rate
- v2.Auth
- v2.Wallet
- v2.NftContract
- v2.JettonContract
Mint NFT
POST
/v2.NftContract/MintNft
v2.NftContract
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
name
stringÂ
name
>= 1 characters<= 512 characters
Default:
Super NFT
description
stringÂ
description
>= 1 characters<= 512 characters
Default:
This is really super!
onchain_image
stringÂ
onchain_image
>= 16 characters<= 512 characters
Default:
https://avatars.mds.yandex.net/get-mpic/5283122/2a00000190ab13989b372dc056c45244f7a0/90x120
collection_address
stringÂ
collection_address
>= 8 characters<= 256 characters
Default:
EQCD39VS5jcptHL8vMjEXrzGaRcCVYto7HUn4bpAOg8xqB2N
Example
{
"name": "Super NFT",
"description": "This is really super!",
"onchain_image": "https://avatars.mds.yandex.net/get-mpic/5283122/2a00000190ab13989b372dc056c45244f7a0/90x120",
"collection_address": "EQCD39VS5jcptHL8vMjEXrzGaRcCVYto7HUn4bpAOg8xqB2N"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.apiton.org/v2.NftContract/MintNft' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Super NFT",
"description": "This is really super!",
"onchain_image": "https://avatars.mds.yandex.net/get-mpic/5283122/2a00000190ab13989b372dc056c45244f7a0/90x120",
"collection_address": "EQCD39VS5jcptHL8vMjEXrzGaRcCVYto7HUn4bpAOg8xqB2N"
}'
Responses
🟢200OK
application/json
Body
nft_address
stringÂ
nft_address
Example
{
"nft_address": "string"
}
🔴500Server Error