apiTON
HomeExplorerBlog
HomeExplorerBlog
Contact
  1. v2.NftContract
  • api:TON Documentation
  • v2.Address
    • Transactions
      POST
    • Details
      POST
    • Jettons
      POST
    • NFTs
      POST
    • Wallets
      POST
  • v2.Nft
    • Username
      POST
    • Number
      POST
    • Domain
      POST
    • Gift
      POST
    • Item
      POST
  • v2.Rate
    • Fiat rate
      POST
    • Crypto rate
      POST
    • Exchanges rate
      POST
  • v2.Auth
    • Do
      POST
    • List
      POST
    • Import
      POST
    • Backup
      POST
    • Delete
      POST
    • New
      POST
  • v2.Wallet
    • Send TON
      POST
    • Send Jetton
      POST
    • Send Nft
      POST
  • v2.NftContract
    • Mint Nft Collection
      POST
    • Mint NFT
      POST
  • v2.JettonContract
    • Mint
    • Burn
    • Change owner
    • Close Mint
  1. v2.NftContract

Mint NFT

POST
/v2.NftContract/MintNft
v2.NftContract
Create new nft in TON blockchain
Get 🔑 Authorization token for wallet with your access_token

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
optional
Nft name
>= 1 characters<= 512 characters
Default:
Super NFT
description
string 
description
optional
Describe what your nft is about
>= 1 characters<= 512 characters
Default:
This is really super!
onchain_image
string 
onchain_image
optional
This image will be uploaded to blockchain.
>= 16 characters<= 512 characters
Default:
https://avatars.mds.yandex.net/get-mpic/5283122/2a00000190ab13989b372dc056c45244f7a0/90x120
collection_address
string 
collection_address
optional
Minted 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
optional
Example
{
    "nft_address": "string"
}
🔴500Server Error
Previous
Mint Nft Collection
Next
Mint
Built with