mint

Parameters

Get a certain amount of KRC-20 token using the "mint" function.

{"p": "krc-20","op": "mint","tick": "kasp"}
KeyRequired?Description

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

  • The inscription data must be in the first element of the transaction's inputs.

  • The maximum number of elements in the outputs is 2. outputs[0] represents the receiver of the KRC-20 token, outputs[1] (If provided) represents the change address.

  • 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

Last updated