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 Collection

POST
/v2.NftContract/MintCollection
v2.NftContract
Create new nft collection in TON blockchain. Onchain: all data will be stored in blockchain directly.
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 collection name
>= 1 characters<= 512 characters
Default:
Super Collection
description
string 
description
optional
Describe what your collection is about
>= 1 characters<= 512 characters
Default:
Super Collection
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
Example
{
    "name": "Super Collection",
    "description": "Super Collection",
    "onchain_image": "https://avatars.mds.yandex.net/get-mpic/5283122/2a00000190ab13989b372dc056c45244f7a0/90x120"
}

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/MintCollection' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "Super Collection",
    "description": "Super Collection",
    "onchain_image": "https://avatars.mds.yandex.net/get-mpic/5283122/2a00000190ab13989b372dc056c45244f7a0/90x120"
}'

Responses

🟢200OK
application/json
Body
collection_address
string 
collection_address
optional
Example
{
    "collection_address": "string"
}
🔴500Server Error
Previous
Send Nft
Next
Mint NFT
Built with