Mints a specified amount of tokens to a specified account address.
The contract's totalSupply
will increase accordingly.
The account that sends the transaction. You can enter the Klaytn account address of an authorized Minter, or leave it blank, so it will automatically be set to the deployer
address as default . You can find the deployer
address by KIP7Deployer.
You can omit the KRN if the from
address is managed by the KIP-7 or Wallet Service account-pool
.
Otherwise you have to provide the KRN object in the header (x-krn: krn:{chain-id}:wallet:{account-id}:account-pool:{pool name}
).
NOTE
Remember that a contract address is not an account address managed by Wallet Service, so it can't in
from
.
Your request was successful.
Your request is not valid.
The credential you entered is invalid.
The resource you requested doesn't exist.
{- "from": "0xd6905b98E4Ba43a24E842d2b66c1410173791cab",
- "to": "0xd6905b98E4Ba43a24E842d2b66c1410173791cab",
- "amount": "0x10"
}
Your request was successful.
{- "status": "Submitted",
- "transactionHash": "0x31dd75c39e569b3fa5336186a6a464c0a84c487f481e80009a4d238fbe0d2357"
}