Grants a specified account the authority to mint and burn tokens from a contract. You can remove the authority by using Remove Minter.
NOTE
minter
is the address that will be granted the authority. It needs to be managed by Wallet API in order to be use Remove Minter. Otherwise, you have to sign and send the transaction yourself.
The account that sends the transaction to grant the authority for tokens. If you leave it blank, 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 sender
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}
).
Your request was successful.
Your request is not valid.
The credential you entered is invalid.
Access has been denied.
The resource you requested doesn't exist.
{- "sender": "0x1eb15b3ccb2add3bfe132a4f6ad21ca62cf94e6d",
- "minter": "0x9eaf20b40e0f1ced5dbba6f5cfb0d3e12b0534f4"
}
{- "status": "Submitted",
- "transactionHash": "0xf7843f034f2283d0ec32886a69d44a85ce19af25d8bd89d84322b973a86328a8"
}