mint
Last updated
Last updated
Get a certain amount of KRC-20 token using the "mint" function.
Key | Required? | Description |
---|---|---|
The inscription data must be in the first element of the transaction's inputs.
To mint a KRC-20 token, the transaction fee(or gas fee) paid should not be less than 1 KAS.
The balance obtained from each mint is defined in deployment. If a operation would cause the cap to be exceeded, the maximum possible number of KRC-20 tokens will be obtained.
If to
field is not configured, it defaults to the transaction sender address.
p
Yes
Protocol Header. Must be "krc-20"
op
Yes
Operation: Type of event (Deploy, Mint, Transfer)
tick
Yes
Ticker: 4 to 6 letter identifier of the krc-20
to
No
The receiver of the KRC-20 token