- api:TON Documentation
- v1.Address
- v1.Nft
- v1.Rate
- v2.Auth
- v2.Wallet
- v2.NftContract
- v2.JettonContract
Mint
POST
/v2.JettonContract/Mint
v2.JettonContract
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
jetton
object (JettonDetails)Â
optional
name
stringÂ
name
>= 1 characters<= 512 characters
Default:
Super Coin
symbol
stringÂ
symbol
>= 1 characters<= 8 characters
Default:
SUP
description
stringÂ
description
>= 1 characters<= 1024 characters
Default:
Jetton created by apiton.org
image_url
stringÂ
image_url
<= 1024 characters
Default:
https://apiton.org/empty_coin.png
supply
numberÂ
supply
>= 1<= 10000000000000000000
Default:
1000000
max_supply
numberÂ
max_supply
>= 1<= 10000000000000000000
Default:
1000000
Example
{
"jetton": {
"name": "Super Coin",
"symbol": "SUP",
"description": "Jetton created by apiton.org",
"image_url": "https://apiton.org/empty_coin.png",
"supply": "1000000",
"max_supply": "1000000"
}
}
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.JettonContract/Mint' \
--header 'Content-Type: application/json' \
--data-raw '{
"jetton": {
"name": "Super Coin",
"symbol": "SUP",
"description": "Jetton created by apiton.org",
"image_url": "https://apiton.org/empty_coin.png",
"supply": "1000000",
"max_supply": "1000000"
}
}'
Responses
🟢200OK
application/json
Body
master_address
stringÂ
master_address
Example
{
"master_address": "string"
}
🔴500Server Error