Remove Minter

Removes the authority granted to a specifed account to mint and burn tokens from a contract.

Minter

The address whose authority to mint and burn tokens will be removed.

You can omit the KRN if the minter-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}).

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

Contract address (in hex.) or alias.

minter-address
required
string

The Kaia account address whose authority to mint and burn tokens will be removed.

header Parameters
x-chain-id
required
string

Kaia Network Chain ID (1001 or 8217)

Responses
200

Your request was successful.

401

The credential you entered is invalid.

403

Access has been denied.

404

The resource you requested doesn't exist.

delete/v1/contract/{contract-address-or-alias}/minter/{minter-address}
Request samples
curl -i -X DELETE \
  -u <username>:<password> \
  'https://kip7-api.klaytnapi.com/v1/contract/{contract-address-or-alias}/minter/{minter-address}' \
  -H 'x-chain-id: string'
Response samples
application/json

Your request was successful.

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