Mint Token

Mints a new token from a specified KIP-17 contract. You can use the contract alias in place of the address.

NOTE

Minting a token to an address outside the KAS Account Pool hinders you from sending or burning the token using KAS..

Request
Security:
path Parameters
contract-address-or-alias
required
string

Contract address (in hex.) or alias.

header Parameters
x-chain-id
required
string

Kaia Network Chain ID (1001 or 8217)

x-krn
string

KRN (KAS Resource Name) unique to an Account Pool

Request Body schema: application/json
to
required
string

The Klaytn accound address of the new token's owner.

id
required
string

The ID of the new token; it must not be a duplicate of an existing ID.

uri
required
string

The URI of the new token.

Responses
200

Your request was successful.

400

Your request is not valid.

401

The credential you entered is invalid.

post/v2/contract/{contract-address-or-alias}/token
Request samples
application/json
{}
Response samples
application/json

Your request was successful.

{
  • "status": "Submitted",
  • "transactionHash": "0x57d94989611cf0351fdea04dd5193398980642aaed82c8c34bdef12f4ecf356e"
}