Kasplex KRC20
  • Introduction
  • Protocols
    • Data Insertion Mechanism
    • KRC-20 Tokens
      • Deployment Mode
      • Basic Operation
        • deploy
        • mint
        • issue
        • burn
        • blacklist
        • chown
        • transfer
      • How to Trade KRC-20
        • list
        • send
  • Tools & REFERENCE
    • Kasplex Indexer
      • Guidelines
      • Ticker Reserved List
      • Consensus and Trust Model
    • Kasplex Indexer API
      • General
        • Get Node Status
      • KRC-20
        • Get Token List
        • Get Token Info
        • Get Address's Token List
        • Get Address's Token Balance
        • Get Token's Market Info
        • Get Token's Blacklist
        • Get Operation List
        • Get Operation Info
      • Archive
        • Get Archive Operation List
        • Get Archive Vspc List
    • Roadmap
Powered by GitBook
On this page
  • Description
  • Parameters
  • Notice
  1. Protocols
  2. KRC-20 Tokens
  3. Basic Operation

mint

PreviousdeployNextissue

Last updated 26 days ago

Description

Get a certain amount of tokens using the "mint" function, only for tokens in "Deploy - Mint" Mode.

Parameters

JSON format example:

{"p":"krc-20","op":"mint","tick":"kasp","to":"kaspa:..."}

Enabled when ( DaaScore >= 83441551 AND DaaScore <= 83525600 OR DaaScore >= 90090600 ).

Key
Required?
Description

p

Yes

Protocol header. Must be "krc-20" (case-insensitive).

op

Yes

Operation. Must be "mint" (case-insensitive).

tick

Yes

Ticker. 4 to 6 letter unique identifier of the token (case-insensitive).

to

No

The receiver address of the tokens.

Notice

  • To mint the tokens, the (gas fee) paid should not be less than 1 KAS.

  • The balance obtained from each mint is defined in deployment. If an operation would causes the cap to be exceeded, the maximum possible number of tokens will be obtained.

  • If to field is not configured, it defaults to the transaction sender address.

transaction fee