Skip to main content

4.4 Minting

Minting is defined by the following data structure:

{ 
"p": "n20",
"op": "mint",
"tick": "note",
"amt": "1000"
... ...
}
KeyRequired?Description
pYesProtocol name, n20, lowercase
opYesOperation name, mint, lowercase
tickYesToken name, up to 12 characters, case-insensitive
amtYesBigint, a large integer representing the quantity mined, must be greater than 0
...NoOther variables needed during the Mint operation

If a smart contract was set during the deployment stage, the Mint operation must pass contract validation.