Mint

In Mint, it is sent to self wallet address, and the JSON field is guaranteed to be modified to legal content. It has not exceeded the maximum total limit, and it has not exceeded a single number.

While in Mint, we need to specify some required fields.

Key
Required
Description

p

yes

protocol name,ton-20

op

yes

mint

tick

yes

same as deployment.

amt

yes

Mint quantity, not exceeding the limit.

requires attention:

  • Should not sent to address EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9c

  • Sender must be basic wallet

like this:

// mint; send 0ton to self wallet
// The initiator of the transaction is the receiver
{
    "p":"ton-20",
    "op":"mint", //mint operation
    "tick":"nano",
    "amt":"100000000000" //mint amount, in nano unit with 9 decimals
}

Last updated